summaryrefslogtreecommitdiff
path: root/init.d
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2012-11-06 23:02:56 +0000
committerRobin H. Johnson <robbat2@gentoo.org>2012-11-06 23:02:56 +0000
commit87daa26ca77a4d564959f7ab263cbc53d8925fb5 (patch)
tree4f7e8a054ecf2436d7c1c383d9962a467b71c57c /init.d
parent670589571e3bb2706c6eaae0a3b966f6e4124355 (diff)
downloadopenrc-87daa26ca77a4d564959f7ab263cbc53d8925fb5.tar.gz
openrc-87daa26ca77a4d564959f7ab263cbc53d8925fb5.tar.bz2
openrc-87daa26ca77a4d564959f7ab263cbc53d8925fb5.tar.xz
init.d/mtab: Another instance of the same pattern matching case.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
Diffstat (limited to 'init.d')
-rw-r--r--init.d/mtab.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/init.d/mtab.in b/init.d/mtab.in
index 0be5adb..a32b8d6 100644
--- a/init.d/mtab.in
+++ b/init.d/mtab.in
@@ -28,7 +28,7 @@ start()
# makes / readonly and dismounts all tmpfs even if in use which is
# not good. Luckily, umount uses /etc/mtab instead of /proc/mounts
# which allows this hack to work.
- grep -v "^[^ ]* / tmpfs " /proc/mounts > /etc/mtab
+ grep -v "^[! ]* / tmpfs " /proc/mounts > /etc/mtab
# Remove stale backups
rm -f /etc/mtab~ /etc/mtab~~