summaryrefslogtreecommitdiff
path: root/package/base-files/src/etc/mdev
diff options
context:
space:
mode:
Diffstat (limited to 'package/base-files/src/etc/mdev')
-rwxr-xr-xpackage/base-files/src/etc/mdev/fs6
1 files changed, 3 insertions, 3 deletions
diff --git a/package/base-files/src/etc/mdev/fs b/package/base-files/src/etc/mdev/fs
index eb60379e6..678aadc8a 100755
--- a/package/base-files/src/etc/mdev/fs
+++ b/package/base-files/src/etc/mdev/fs
@@ -47,9 +47,9 @@ adk_mount() {
grep $procfs /proc/filesystems >/dev/null 2>&1
if [ $? -eq 0 ];then
logger -t mdev "Mounting $disk to $mnt"
- mount $mnt 2>/dev/null
- if [ $? -ne 0 ];then
- logger -s -t 'Filesystem' "Mounting $disk failed"
+ mount $mnt
+ if [ $? -ne 0 ]; then
+ logger -t mdev "Mounting $disk failed"
fi
else
logger -t mdev "Required filesystem $procfs not available"