aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--init.d/halt.sh.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/init.d/halt.sh.in b/init.d/halt.sh.in
index 47f86618..7b6f55c4 100644
--- a/init.d/halt.sh.in
+++ b/init.d/halt.sh.in
@@ -40,7 +40,7 @@ fi
mnt=$(mountinfo --node "${RC_SVCDIR}")
if [ -n "${mnt}" ] && \
rm -rf "${RC_LIBDIR}/tmp.$$" && \
- mkdir -p "${RC_LIBDIR}/tmp.$$" \
+ mkdir -p "${RC_LIBDIR}/tmp.$$" 2>/dev/null \
; then
rmdir "${RC_LIBDIR}/tmp.$$"
f_opts="-m -c"