Also rotate when transfer is not complete due to vanished source files
This commit is contained in:
parent
e1e9ff4972
commit
c358958a96
|
@ -10,6 +10,6 @@ if [ "$RSYNC_EXIT_STATUS" == "" ]; then
|
|||
exit 1
|
||||
fi
|
||||
|
||||
if [ $RSYNC_EXIT_STATUS -eq 0 ]; then
|
||||
if [ $RSYNC_EXIT_STATUS -eq 0 ] || [ $RSYNC_EXIT_STATUS -eq 24 ]; then
|
||||
rsnapshot -c "$1" push
|
||||
fi
|
||||
|
|
Loading…
Reference in New Issue