diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2012-11-06 23:02:56 +0000 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2012-11-06 23:02:56 +0000 |
commit | 87daa26ca77a4d564959f7ab263cbc53d8925fb5 (patch) | |
tree | 4f7e8a054ecf2436d7c1c383d9962a467b71c57c | |
parent | 670589571e3bb2706c6eaae0a3b966f6e4124355 (diff) |
init.d/mtab: Another instance of the same pattern matching case.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
-rw-r--r-- | init.d/mtab.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/init.d/mtab.in b/init.d/mtab.in index 0be5adbc..a32b8d60 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~~ |