summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorP. J. McDermott <pj@pehjota.net>2014-06-03 10:26:55 (EDT)
committer P. J. McDermott <pj@pehjota.net>2014-06-03 10:26:55 (EDT)
commit2e78f310cc9a6a9374c013105e366eef031d6635 (patch)
treea9b3a8692bd5e9a159d2c0fb55cbd5680a95a738
parent566a93b87cbc2f06f6c2affe628503a3b24cd29b (diff)
/etc/init.d/mountall: Fix exit status.
-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
}