mirror of
https://github.com/YunoHost/install_script.git
synced 2024-09-03 20:06:25 +02:00
return 0 when script run entirly well
This commit is contained in:
parent
55d3585d2c
commit
8b89c281ea
1 changed files with 2 additions and 1 deletions
|
@ -6,6 +6,7 @@ ERR_FAIL_UPDATE=2
|
||||||
ERR_FAIL_INSTALL=3
|
ERR_FAIL_INSTALL=3
|
||||||
ERR_CANCEL_INSTALL=4
|
ERR_CANCEL_INSTALL=4
|
||||||
ERR_IMPOSSIBLE=-1
|
ERR_IMPOSSIBLE=-1
|
||||||
|
NO_ERR=0
|
||||||
|
|
||||||
function bck {
|
function bck {
|
||||||
FULLPATH="$(readlink -f "$1")"
|
FULLPATH="$(readlink -f "$1")"
|
||||||
|
@ -151,4 +152,4 @@ else
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Security : we shouldn't be able to exit here
|
# Security : we shouldn't be able to exit here
|
||||||
exit $ERR_IMPOSSIBLE
|
exit $NO_ERR
|
||||||
|
|
Loading…
Add table
Reference in a new issue