return 0 when script run entirly well

This commit is contained in:
Émile Morel 2015-05-07 22:45:11 +02:00
parent 55d3585d2c
commit 8b89c281ea

View file

@ -6,6 +6,7 @@ ERR_FAIL_UPDATE=2
ERR_FAIL_INSTALL=3
ERR_CANCEL_INSTALL=4
ERR_IMPOSSIBLE=-1
NO_ERR=0
function bck {
FULLPATH="$(readlink -f "$1")"
@ -151,4 +152,4 @@ else
fi
# Security : we shouldn't be able to exit here
exit $ERR_IMPOSSIBLE
exit $NO_ERR