summaryrefslogtreecommitdiffstats
path: root/backup.sh
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xinu.at>2020-01-27 16:52:01 +0100
committerFlorian Pritz <bluewind@xinu.at>2020-01-27 16:52:01 +0100
commit51eef1e9d1013186b67f584ba1014add588439e4 (patch)
treeb56eb05cf77468477bd57214c87f822bf768a310 /backup.sh
parent767afdb44716815b616b5a829af9e7ae1de7ea2d (diff)
downloadbin-51eef1e9d1013186b67f584ba1014add588439e4.tar.gz
bin-51eef1e9d1013186b67f584ba1014add588439e4.tar.xz
backup.sh: Error on undefined variables
Signed-off-by: Florian Pritz <bluewind@xinu.at>
Diffstat (limited to 'backup.sh')
-rwxr-xr-xbackup.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/backup.sh b/backup.sh
index 95ce921..a674819 100755
--- a/backup.sh
+++ b/backup.sh
@@ -28,7 +28,7 @@
#
# See gpl-3.0.txt for full license text.
-set -e
+set -eu
main() {
if [[ $UID != 0 ]]; then