diff options
author | Sebastien Luttringer <seblu@seblu.net> | 2011-04-10 03:16:38 +0200 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2011-04-11 15:12:55 +1000 |
commit | ade6b4c6eef564e8650b9ed780d10e5e5f50ef14 (patch) | |
tree | e5077b843318ef9ed7b977878794a9fb68d213a5 | |
parent | 42d52ae25ee23b098daa1c5d74bbe07f9993995a (diff) |
fix syntax error from 71a1b74eb778540d412705b09a24f1d2ba123a2b
Signed-off-by: Sebastien Luttringer <seblu@seblu.net>
Signed-off-by: Tom Gundersen <teg@jklm.no>
-rwxr-xr-x | rc.sysinit | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -281,8 +281,8 @@ stat_busy "Mounting Local Filesystems" # don't touch /etc/mtab if it is a symlink to /proc/self/mounts if [[ -L /etc/mtab ]]; then - ; -elif [[ -x /bin/findmnt -a -e /proc/self/mountinfo ]]; then + : +elif [[ -x /bin/findmnt && -e /proc/self/mountinfo ]]; then /bin/findmnt -rnu -o SOURCE,TARGET,FSTYPE,OPTIONS >| /etc/mtab else cat /proc/mounts >| /etc/mtab |