aboutsummaryrefslogtreecommitdiff
path: root/rc.sysinit
diff options
context:
space:
mode:
authorSebastien Luttringer <seblu@seblu.net>2011-04-10 03:16:38 +0200
committerAllan McRae <allan@archlinux.org>2011-04-11 15:12:55 +1000
commitade6b4c6eef564e8650b9ed780d10e5e5f50ef14 (patch)
treee5077b843318ef9ed7b977878794a9fb68d213a5 /rc.sysinit
parent42d52ae25ee23b098daa1c5d74bbe07f9993995a (diff)
downloadinitscripts-ade6b4c6eef564e8650b9ed780d10e5e5f50ef14.tar.xz
fix syntax error from 71a1b74eb778540d412705b09a24f1d2ba123a2b
Signed-off-by: Sebastien Luttringer <seblu@seblu.net> Signed-off-by: Tom Gundersen <teg@jklm.no>
Diffstat (limited to 'rc.sysinit')
-rwxr-xr-xrc.sysinit4
1 files changed, 2 insertions, 2 deletions
diff --git a/rc.sysinit b/rc.sysinit
index 1fbe64a..e855e0d 100755
--- a/rc.sysinit
+++ b/rc.sysinit
@@ -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