summaryrefslogtreecommitdiff
path: root/functions
diff options
context:
space:
mode:
Diffstat (limited to 'functions')
-rw-r--r--functions4
1 files changed, 2 insertions, 2 deletions
diff --git a/functions b/functions
index ef014e3..c6416d9 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() {
@@ -376,7 +376,7 @@ fsck_all() {
FORCEFSCK=
[[ -f /forcefsck ]] || in_array forcefsck $(< /proc/cmdline) && FORCEFSCK="-- -f"
run_hook sysinit_prefsck
- fsck -A -T -C$FSCK_FD -a -t "$NETFS,noopts=_netdev" $FORCEFSCK >$FSCK_OUT 2>$FSCK_ERR
+ fsck -A -T -C$FSCK_FD -a -t "$NETFS,noopts=_netdev" $FORCEFSCK >|$FSCK_OUT 2>|$FSCK_ERR
local fsckret=$?
if (( fsckret > 1 )); then
stat_fail