1 #! /bin/sh /usr/share/dpatch/dpatch-run
2 ## 04_ignore_errors_from_fstype.dpatch by Michael Prokop <mika@grml.org>
4 ## All lines beginning with `## DP:' are a description of the patch.
5 ## DP: Ignore errors from fstype
7 ## Redirect stderr to /dev/null, otherwise we'll get
8 ## "stdin: error 0" for some partitions during bootup.
13 diff -r 6b72cefbc61b scripts/live-helpers
14 --- a/scripts/live-helpers Mon Sep 15 17:32:23 2008 +0200
15 +++ b/scripts/live-helpers Mon Sep 15 17:34:17 2008 +0200
20 - eval $(fstype < ${1})
21 + eval $(fstype < ${1} 2>/dev/null)
23 if [ "${FSTYPE}" != "unknown" ]