aboutsummaryrefslogtreecommitdiff
path: root/init.d
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2008-07-09 15:22:15 +0000
committerRoy Marples <roy@marples.name>2008-07-09 15:22:15 +0000
commit1ca63447c9a65e595534cafb7a4d497edf7fa92b (patch)
tree720a778a511542e0ab7f767c196da758310916da /init.d
parentc2781c209ec01a863b11f50a0df2d09c6702cbc9 (diff)
Hide mkdir error's
Diffstat (limited to 'init.d')
-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"