From 26bc6c9fe57e4e516cd4f3a6d133ceea84a1a9c3 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Sun, 13 Nov 2016 12:09:49 +0100 Subject: finetune disk mount scripts --- package/base-files/src/etc/mdev/fs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'package/base-files/src/etc/mdev/fs') diff --git a/package/base-files/src/etc/mdev/fs b/package/base-files/src/etc/mdev/fs index 678aadc8a..86c4cee2f 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 + mount $mnt 2>> /tmp/mount.err if [ $? -ne 0 ]; then - logger -t mdev "Mounting $disk failed" + logger -t mdev "Mounting $disk failed with $?" fi else logger -t mdev "Required filesystem $procfs not available" -- cgit v1.2.3