From 34443b18bd9fc4c5cf57d4e7dabf85949c12e88c Mon Sep 17 00:00:00 2001 From: Jeremy Lecour Date: Thu, 19 Mar 2020 07:34:35 +0100 Subject: [PATCH] Fail on unassigned variables --- zzz_evobackup | 3 +++ 1 file changed, 3 insertions(+) diff --git a/zzz_evobackup b/zzz_evobackup index 03692a0..7fb3142 100755 --- a/zzz_evobackup +++ b/zzz_evobackup @@ -15,6 +15,9 @@ # # /!\ DON'T FORGET TO SET "MAIL" and "SERVERS" VARIABLES +# Fail on unassigned variables +set -u + ##### Configuration ################################################### # email adress for notifications