Use same exit codes as synology packages

This commit is contained in:
Reinhard Pointner 2016-04-05 18:06:11 +00:00
parent 63d74da890
commit 2d053909db
1 changed files with 1 additions and 5 deletions

View File

@ -13,15 +13,11 @@ case "$1" in
if [ -x "/usr/local/bin/$SYNOPKG_PKGNAME" ] && [ -x "$SYNOPKG_PKGDEST/$SYNOPKG_PKGNAME.sh" ]; then if [ -x "/usr/local/bin/$SYNOPKG_PKGNAME" ] && [ -x "$SYNOPKG_PKGDEST/$SYNOPKG_PKGNAME.sh" ]; then
exit 0 exit 0
else else
exit 1 exit 150
fi fi
;; ;;
log) log)
exit 0 exit 0
;; ;;
*)
exit 1
;;
esac esac