summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xsrc.etc/init.d/mountall4
1 files changed, 3 insertions, 1 deletions
diff --git a/src.etc/init.d/mountall b/src.etc/init.d/mountall
index 5de464a..76aa75a 100755
--- a/src.etc/init.d/mountall
+++ b/src.etc/init.d/mountall
@@ -5,5 +5,7 @@ START='S20'
start()
{
log 'Mounting file systems'
- [ -r /etc/fstab ] && mount -a
+ if [ -r /etc/fstab ]; then
+ mount -a
+ fi
}