Skip to content

Commit

Permalink
Fixing the zmbackup to remove the PID file after finishing run
Browse files Browse the repository at this point in the history
  • Loading branch information
lucascbeyeler committed Oct 8, 2017
1 parent 0116b9a commit 078671b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions project/lib/bash/BackupAction.sh
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,7 @@ function backup_main()
echo "Backup session $SESSION finished on $(date)"
else
echo "Nothing to do. Closing..."
rm -rf $PID
exit 2
fi
}
1 change: 1 addition & 0 deletions project/lib/bash/RestoreAction.sh
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ function restore_main_mailbox()
printf "\nRestore mail process with session $1 completed at $(date)\n"
else
echo "Nothing to do. Closing..."
rm -rf $PID
exit 2
fi
}
Expand Down

0 comments on commit 078671b

Please sign in to comment.