From 2d053909db6a8cf090f1d4ab86b9881d1bc16017 Mon Sep 17 00:00:00 2001 From: Reinhard Pointner Date: Tue, 5 Apr 2016 18:06:11 +0000 Subject: [PATCH] Use same exit codes as synology packages --- installer/spk/scripts/start-stop-status | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/installer/spk/scripts/start-stop-status b/installer/spk/scripts/start-stop-status index c91a7667..a8735478 100644 --- a/installer/spk/scripts/start-stop-status +++ b/installer/spk/scripts/start-stop-status @@ -13,15 +13,11 @@ case "$1" in if [ -x "/usr/local/bin/$SYNOPKG_PKGNAME" ] && [ -x "$SYNOPKG_PKGDEST/$SYNOPKG_PKGNAME.sh" ]; then exit 0 else - exit 1 + exit 150 fi ;; log) exit 0 ;; - - *) - exit 1 - ;; esac