1
0
mirror of https://github.com/mitb-archive/filebot synced 2024-11-16 06:15:02 -05:00

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

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