From ff359e1af1044937d62f8d071201231ec18a4427 Mon Sep 17 00:00:00 2001 From: CedarLUG <19336442+cedarlug@users.noreply.github.com> Date: Mon, 18 Dec 2017 09:26:54 -0600 Subject: [PATCH] Function call syntax error --- lgsm/functions/command_backup.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lgsm/functions/command_backup.sh b/lgsm/functions/command_backup.sh index 9b3618ce9..ea9647c4d 100644 --- a/lgsm/functions/command_backup.sh +++ b/lgsm/functions/command_backup.sh @@ -112,7 +112,7 @@ fn_backup_compression(){ sleep 2 fn_print_dots "Backup (${rootdirduexbackup}) ${backupname}.tar.gz, in progress..." fn_script_log_info "backup ${rootdirduexbackup} ${backupname}.tar.gz, in progress" - excludedir=fn_backup_relpath + excludedir=$(fn_backup_relpath) # CHECK THAT excludedir isn't empty. Sanity check here -CedarLUG tar -czf "${backupdir}/${backupname}.tar.gz" -C "${rootdir}" --exclude "${excludedir}" ./* local exitcode=$?