summaryrefslogtreecommitdiff
path: root/autoscripts/postinst-init-norestart-invoke
diff options
context:
space:
mode:
authorjoey <joey>2002-06-21 01:04:14 +0000
committerjoey <joey>2002-06-21 01:04:14 +0000
commit9d10bc252fde1f9e093d859ece3025c1267ae59f (patch)
treeff1e294608922e0e4ff2022f307efed6979f0e9c /autoscripts/postinst-init-norestart-invoke
parentc84545b9234bf1d233983d5ae59ab59d573a5460 (diff)
r534: * Stupid, evil typo.
* Fixed the tests clint didn't show me.
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