summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorMichael Prokop <mika@grml.org>2008-09-15 17:54:18 +0200
committerDaniel Baumann <daniel@debian.org>2011-03-09 17:48:02 +0100
commitd7b7251424be21bdf7bac2958019873eb76a9f96 (patch)
tree9f3077ca843492de93a4a471c029ef713ba01289 /scripts
parent05d397a2a97eed0678773e99b4414abf5ee2abf9 (diff)
downloadlive-boot-d7b7251424be21bdf7bac2958019873eb76a9f96.tar.gz
live-boot-d7b7251424be21bdf7bac2958019873eb76a9f96.zip
Ignore errors from fstype.
Redirect stderr to /dev/null, otherwise we'll get "stdin: error 0" for some partitions during bootup.
Diffstat (limited to 'scripts')
-rw-r--r--scripts/live-helpers2
1 files changed, 1 insertions, 1 deletions
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