diff options
Diffstat (limited to 'init.d')
-rw-r--r-- | init.d/bootmisc.in | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/init.d/bootmisc.in b/init.d/bootmisc.in index 13f23891..952475dd 100644 --- a/init.d/bootmisc.in +++ b/init.d/bootmisc.in @@ -136,8 +136,7 @@ clean_run() dir=$(mktemp -d) if [ -n "$dir" -a -d $dir -a -w $dir ]; then mount --bind / $dir && rm -rf $dir/run/* || rc=1 - umount $dir - rm -rf $dir + umount $dir && rmdir $dir else rc=1 fi |