From: Michael Prokop Date: Mon, 15 Sep 2008 15:54:18 +0000 (+0200) Subject: Ignore errors from fstype. X-Git-Tag: debian/2.0.15-1~436 X-Git-Url: http://git.grml.org/?p=live-boot-grml.git;a=commitdiff_plain;h=d7b7251424be21bdf7bac2958019873eb76a9f96 Ignore errors from fstype. Redirect stderr to /dev/null, otherwise we'll get "stdin: error 0" for some partitions during bootup. --- diff --git a/scripts/live-helpers b/scripts/live-helpers index bb5653c..990c088 100644 --- a/scripts/live-helpers +++ b/scripts/live-helpers @@ -77,7 +77,7 @@ get_fstype () return fi - eval $(fstype < ${1}) + eval $(fstype < ${1} 2>/dev/null) if [ "${FSTYPE}" != "unknown" ] then