summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoe <joe@joelightning.com>2012-01-03 20:12:53 +0000
committerJoe <joe@joelightning.com>2012-01-03 20:12:53 +0000
commit3482e242671f00e6e33c450458dfc3af204e4363 (patch)
treec8d78febcf32de72ad8ce3e39bd7f65bcbf42556
parent35034e48e439d0a8396d131bb360998df8e00e6f (diff)
fixed mistake
-rw-r--r--rc.d/pbot-ng2
1 files changed, 1 insertions, 1 deletions
diff --git a/rc.d/pbot-ng b/rc.d/pbot-ng
index 5c022a4..5ebfba3 100644
--- a/rc.d/pbot-ng
+++ b/rc.d/pbot-ng
@@ -15,7 +15,7 @@ start)
stat_busy "Starting pbot-ng"
# Check it's not already running.
- if ! (( ${pids[*]} ))
+ if ! (( ${#pids[*]} ))
then
su - pbot-ng -c "cd /home/pbot-ng ; ./envbot & ./bug_tracker_change_detector" &
# If it's not running then we fail.