From ade6b4c6eef564e8650b9ed780d10e5e5f50ef14 Mon Sep 17 00:00:00 2001 From: Sebastien Luttringer Date: Sun, 10 Apr 2011 03:16:38 +0200 Subject: fix syntax error from 71a1b74eb778540d412705b09a24f1d2ba123a2b Signed-off-by: Sebastien Luttringer Signed-off-by: Tom Gundersen --- rc.sysinit | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'rc.sysinit') 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 -- cgit v1.2.3