Also rotate when transfer is not complete due to vanished source files

This commit is contained in:
Janek Bevendorff 2013-10-01 16:47:14 +02:00
parent e1e9ff4972
commit c358958a96
1 changed files with 1 additions and 1 deletions

View File

@ -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