summaryrefslogtreecommitdiff
path: root/autoscripts/postinst-init-norestart-invoke
diff options
context:
space:
mode:
Diffstat (limited to 'autoscripts/postinst-init-norestart-invoke')
-rw-r--r--autoscripts/postinst-init-norestart-invoke2
1 files changed, 1 insertions, 1 deletions
diff --git a/autoscripts/postinst-init-norestart-invoke b/autoscripts/postinst-init-norestart-invoke
index 440e8c78..be1751c8 100644
--- a/autoscripts/postinst-init-norestart-invoke
+++ b/autoscripts/postinst-init-norestart-invoke
@@ -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
invoke-rc.d #SCRIPT# start
fi
fi