diff options
author | Sebastien Luttringer <seblu@seblu.net> | 2011-07-27 23:07:15 +0200 |
---|---|---|
committer | Sebastien Luttringer <seblu@seblu.net> | 2011-08-27 18:08:07 +0200 |
commit | a74f312263b4154414dea1bc494818b1bcbb6b9b (patch) | |
tree | 8da773622f2bfc196802df22da32710b5409f009 /functions | |
parent | 7cccf54fcb9fab459590b8b6fd5c51f2088e3b2e (diff) |
Let background daemons show errors on stderr
Daemon running in background should let error output to be printed.
Standart output is still hided to have a correct printing in default cases.
This will help to detect error in daemon runned in background.
This will also remove have_daemon call which is already called in start_daemon.
Signed-off-by: Sebastien Luttringer <seblu@seblu.net>
Diffstat (limited to 'functions')
-rw-r--r-- | functions | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -218,7 +218,7 @@ ck_depends() { start_daemon_bkgd() { stat_bkgd "Starting $1" - have_daemon "$1" && (start_daemon "$1") &>/dev/null & + (start_daemon "$1") >/dev/null & } stop_daemon() { |