summaryrefslogtreecommitdiff
path: root/functions
diff options
context:
space:
mode:
authorSebastien Luttringer <seblu@seblu.net>2011-07-27 23:07:15 +0200
committerSebastien Luttringer <seblu@seblu.net>2011-08-27 18:08:07 +0200
commita74f312263b4154414dea1bc494818b1bcbb6b9b (patch)
tree8da773622f2bfc196802df22da32710b5409f009 /functions
parent7cccf54fcb9fab459590b8b6fd5c51f2088e3b2e (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--functions2
1 files changed, 1 insertions, 1 deletions
diff --git a/functions b/functions
index f68c088..eaa1374 100644
--- a/functions
+++ b/functions
@@ -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() {