[arch-projects] [initscripts] [PATCH 2/2] add_daemon: Fix redirection
Kurt J. Bosch
kjb-temp-2009 at alpenjodel.de
Sun Jun 26 14:00:55 EDT 2011
---
functions | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/functions b/functions
index 9374827..43414c0 100644
--- a/functions
+++ b/functions
@@ -178,7 +178,7 @@ in_array() {
add_daemon() {
[[ -d /run/daemons ]] || /bin/mkdir -p /run/daemons
- > /run/daemons/"$1"
+ >| /run/daemons/"$1"
}
rm_daemon() {
--
1.7.1
More information about the arch-projects
mailing list