error reporting fix
This commit is contained in:
parent
86bbf2f4d3
commit
330c3a652b
@ -131,7 +131,7 @@ Nextcloud/
|
||||
[ -n "$NODIRSTRUCT" ] && continue
|
||||
|
||||
# if backups from this day already exists move it to $BACKUPSRVPATH_WITH_DATE-$$-old
|
||||
g_runcmd $sshopts test -e "$BACKUPSRVPATH_WITH_DATE" && $sshopts mv "$BACKUPSRVPATH_WITH_DATE" "$BACKUPSRVPATH_WITH_DATE-$$-old"
|
||||
$sshopts test -e "$BACKUPSRVPATH_WITH_DATE" && $sshopts mv "$BACKUPSRVPATH_WITH_DATE" "$BACKUPSRVPATH_WITH_DATE-$$-old"
|
||||
|
||||
# move from -incomplete to default dir
|
||||
g_runcmd $sshopts mv "$BACKUPSRVPATH_WITH_DATE_INCOMPLETE" "$BACKUPSRVPATH_WITH_DATE" || continue
|
||||
|
Loading…
Reference in New Issue
Block a user