Skip to content
Snippets Groups Projects
Verified Commit 92f8c712 authored by David Beniamine's avatar David Beniamine
Browse files

handle error on pre_action failure

parent 47479a34
Branches
No related tags found
No related merge requests found
......@@ -41,6 +41,7 @@ backup(){
echo "Running pre_actions"
pre_actions
exit_on_fail $? "Pre action failed"
echo "Creating encrypted incremental backup: $bckplist "
/usr/bin/duplicity \
--full-if-older-than $BK_FULL_FREQ \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment