summaryrefslogtreecommitdiff
path: root/package/base-files/src/etc/rc.shutdown
diff options
context:
space:
mode:
Diffstat (limited to 'package/base-files/src/etc/rc.shutdown')
-rw-r--r--package/base-files/src/etc/rc.shutdown2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/base-files/src/etc/rc.shutdown b/package/base-files/src/etc/rc.shutdown
index 85d9e0058..381669a57 100644
--- a/package/base-files/src/etc/rc.shutdown
+++ b/package/base-files/src/etc/rc.shutdown
@@ -1,5 +1,5 @@
#!/bin/sh
-for i in $(grep -v ^# /etc/fstab |awk '{ print $2 }');do
+for i in $(grep -v ^# /etc/fstab 2>/dev/null|awk '{ print $2 }');do
printf Unmounting $i
umount $i
done