From d7b7251424be21bdf7bac2958019873eb76a9f96 Mon Sep 17 00:00:00 2001 From: Michael Prokop Date: Mon, 15 Sep 2008 17:54:18 +0200 Subject: [PATCH] Ignore errors from fstype. Redirect stderr to /dev/null, otherwise we'll get "stdin: error 0" for some partitions during bootup. --- scripts/live-helpers | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.1.4