summaryrefslogtreecommitdiff
path: root/autoscripts/postinst-init-norestart
diff options
context:
space:
mode:
Diffstat (limited to 'autoscripts/postinst-init-norestart')
-rw-r--r--autoscripts/postinst-init-norestart2
1 files changed, 1 insertions, 1 deletions
diff --git a/autoscripts/postinst-init-norestart b/autoscripts/postinst-init-norestart
index 4f1c63f9..a5741654 100644
--- a/autoscripts/postinst-init-norestart
+++ b/autoscripts/postinst-init-norestart
@@ -1,7 +1,7 @@
if [ -x "/etc/init.d/#SCRIPT#" ]; then
update-rc.d #SCRIPT# #INITPARMS# >/dev/null
if [ "$1" = "configure" ]; then
- if [ -z "$2" -o "$2" = "<unknown>" ]; then
+ if [ -z "$2" ] || [ "$2" = "<unknown>" ]; then
/etc/init.d/#SCRIPT# start
fi
fi