From 15bf15269d108bc7a94e9b0d039d10c780513002 Mon Sep 17 00:00:00 2001 From: Asif Bacchus Date: Tue, 16 Oct 2018 01:16:59 -0600 Subject: [PATCH] Corrected spacing for clarity in if statement --- root/NCscripts/backup.sh | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/root/NCscripts/backup.sh b/root/NCscripts/backup.sh index b8cb3e3..c06cd6f 100755 --- a/root/NCscripts/backup.sh +++ b/root/NCscripts/backup.sh @@ -627,12 +627,12 @@ checkResult="$?" if [ "$checkResult" = "0" ]; then echo -e "${op}${stamp} Found ${lit}${borgExclude}${normal}" \ >> "$logFile" - else - # file not found, unset the variable so it's like it was not specified - # in the first place and continue with backup - unset borgExclude - exitWarn+=('2114') - fi +else + # file not found, unset the variable so it's like it was not specified + # in the first place and continue with backup + unset borgExclude + exitWarn+=('2114') +fi ## Generate and execute borg # commandline depends on whether borgExclude is empty or not