Commit 089412ae authored by Daniel Henninger's avatar Daniel Henninger Committed by dhenninger

Fixed up ctl script.


git-svn-id: http://svn.igniterealtime.org/svn/repos/openfire/trunk@9695 b35dd754-fafc-0310-a699-88a17e54d16e
parent b6dfb570
...@@ -126,7 +126,7 @@ start() { ...@@ -126,7 +126,7 @@ start() {
# Start daemons. # Start daemons.
echo "Starting openfire: \c" echo "Starting openfire: \c"
PID=`su - $OPENFIRE_USER -c '(nohup $OPENFIRE_RUN_CMD 2>&1 &) ; echo $!' &` PID=`su - $OPENFIRE_USER -c "nohup $OPENFIRE_RUN_CMD > $OPENFIRE_LOGDIR/nohup.out 2>&1 &"`
RETVAL=$? RETVAL=$?
if [ $RETVAL -eq 0 -a ! -z "$OPENFIRE_PIDFILE" ]; then if [ $RETVAL -eq 0 -a ! -z "$OPENFIRE_PIDFILE" ]; then
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment