From d03ae29f8178c7f5eff10b15a6efd8d233fcac06 Mon Sep 17 00:00:00 2001 From: kneutron <50146127+kneutron@users.noreply.github.com> Date: Thu, 9 Mar 2023 10:19:47 -0600 Subject: [PATCH] Update saferm.sh --- saferm.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/saferm.sh b/saferm.sh index aa96c29..2e44e54 100644 --- a/saferm.sh +++ b/saferm.sh @@ -14,6 +14,8 @@ function failexit () { exit $1 } +set -u # disallow unset vars + # xxxxx TODO CHANGEME dest=/mnt/tmp