diff options
-rwxr-xr-x | system/install-service.sh.in | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/system/install-service.sh.in b/system/install-service.sh.in index e76ac826e5..3784cd1fd9 100755 --- a/system/install-service.sh.in +++ b/system/install-service.sh.in @@ -644,7 +644,7 @@ detect_linux_svc_type() { install_linux_service() { t="$(detect_linux_svc_type)" - if [ -z "${t}" ]; then + if [ -z "${t}" ] || [ "${t}" = 'detect' ]; then exit 2 fi @@ -654,7 +654,7 @@ install_linux_service() { linux_cmds() { t="$(detect_linux_svc_type)" - if [ -z "${t}" ]; then + if [ -z "${t}" ] || [ "${t}" = 'detect' ]; then exit 2 fi |