summaryrefslogtreecommitdiffstats
path: root/debian/buildsys
diff options
context:
space:
mode:
authorNarayan Desai <desai@mcs.anl.gov>2006-09-10 20:53:51 +0000
committerNarayan Desai <desai@mcs.anl.gov>2006-09-10 20:53:51 +0000
commitf6f94c878be7a252e143cd01eb4ce7865851de7f (patch)
tree8ce6d12a1ecda08c67f42da4e4ac92a1e0eee1ce /debian/buildsys
parente96961111a312a55d89e948b8343e7bb24f8f4a2 (diff)
downloadbcfg2-f6f94c878be7a252e143cd01eb4ce7865851de7f.tar.gz
bcfg2-f6f94c878be7a252e143cd01eb4ce7865851de7f.tar.bz2
bcfg2-f6f94c878be7a252e143cd01eb4ce7865851de7f.zip
Fix init script bugs
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@2232 ce84e21b-d406-0410-9b95-82705330c041
Diffstat (limited to 'debian/buildsys')
-rw-r--r--debian/buildsys/2.3/bcfg2.init2
-rw-r--r--debian/buildsys/common/bcfg2.init2
2 files changed, 2 insertions, 2 deletions
diff --git a/debian/buildsys/2.3/bcfg2.init b/debian/buildsys/2.3/bcfg2.init
index e6781208d..9dd6c87a1 100644
--- a/debian/buildsys/2.3/bcfg2.init
+++ b/debian/buildsys/2.3/bcfg2.init
@@ -14,7 +14,7 @@ BCFG2_INIT=0
# Include default startup configuration if exists
test -f "/etc/default/bcfg2" && . /etc/default/bcfg2
-["$BCFG2_ENABLED" == "0" -o "$BCFG2_INIT" == 0 ] && exit 0
+[ "$BCFG2_ENABLED" == "0" -o "$BCFG2_INIT" == 0 ] && exit 0
case "$1" in
start)
diff --git a/debian/buildsys/common/bcfg2.init b/debian/buildsys/common/bcfg2.init
index 1c2836c7a..8476c3718 100644
--- a/debian/buildsys/common/bcfg2.init
+++ b/debian/buildsys/common/bcfg2.init
@@ -33,7 +33,7 @@ BCFG2_INIT=0
# Include default startup configuration if exists
test -f "/etc/default/bcfg2" && . /etc/default/bcfg2
-["$BCFG2_ENABLED" == "0" -o "$BCFG2_INIT" == 0 ] && exit 0
+[ "$BCFG2_ENABLED" == "0" -o "$BCFG2_INIT" == 0 ] && exit 0
# Exit if bcfg2 doesn't exist and is not executable
test -x $BCFG2 || exit 5