redirect all output from start_daemon to /dev/null

This commit is contained in:
Timofey Turenko
2015-03-04 21:52:51 +02:00
parent 3dacb257c9
commit 89ce2823e5

View File

@ -1,4 +1,4 @@
#!/bin/sh #!/bin/bash
# #
# maxscale: The MariaDB Corporation MaxScale database proxy # maxscale: The MariaDB Corporation MaxScale database proxy
# #
@ -58,7 +58,7 @@ RETVAL=0
start() { start() {
log_daemon_msg "Starting MaxScale" log_daemon_msg "Starting MaxScale"
start_daemon -p $MAXSCALE_PIDFILE $DAEMON 2> /dev/null start_daemon -p $MAXSCALE_PIDFILE $DAEMON 2> /dev/null > /dev/null
sleep 2 sleep 2