diff options
author | Joe <joe@joelightning.com> | 2012-01-03 20:12:53 +0000 |
---|---|---|
committer | Joe <joe@joelightning.com> | 2012-01-03 20:12:53 +0000 |
commit | 3482e242671f00e6e33c450458dfc3af204e4363 (patch) | |
tree | c8d78febcf32de72ad8ce3e39bd7f65bcbf42556 | |
parent | 35034e48e439d0a8396d131bb360998df8e00e6f (diff) |
fixed mistake
-rw-r--r-- | rc.d/pbot-ng | 2 |
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. |