From c1dca5351e7dbcd195ce355d50fe1cc3131f053a Mon Sep 17 00:00:00 2001 From: olli Date: Tue, 6 Dec 2022 10:41:30 +0100 Subject: [PATCH] =?UTF-8?q?=E2=80=9Egaboshlib/g=5Fbackup.bashfunc=E2=80=9C?= =?UTF-8?q?=20=C3=A4ndern?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- gaboshlib/g_backup.bashfunc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gaboshlib/g_backup.bashfunc b/gaboshlib/g_backup.bashfunc index d1850f2..4e0d356 100644 --- a/gaboshlib/g_backup.bashfunc +++ b/gaboshlib/g_backup.bashfunc @@ -96,7 +96,7 @@ $(cat $g_tmp/bcmd)" # done if no direstructure [ -n "$NODIRSTRUCT" ] && continue - g_runcmd $sshopts test -e $BACKUPSRVPATH_WITH_DATE && $sshopts mv $BACKUPSRVPATH_WITH_DATE $BACKUPSRVPATH_WITH_DATE-$$-old + g_runcmd $sshopts test -e $BACKUPSRVPATH_WITH_DATE \&\& $sshopts mv $BACKUPSRVPATH_WITH_DATE $BACKUPSRVPATH_WITH_DATE-$$-old g_runcmd $sshopts mv $BACKUPSRVPATH_WITH_DATE_INCOMPLETE $BACKUPSRVPATH_WITH_DATE || exit $? # Cleanup old backups