Skip to content

Commit

Permalink
Ignore errors from fstype.
Browse files Browse the repository at this point in the history
Redirect stderr to /dev/null, otherwise we'll get
"stdin: error 0" for some partitions during bootup.
  • Loading branch information
mika authored and Marco Amadori committed Sep 16, 2008
1 parent ab57eab commit f3d517c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/live-helpers
Expand Up @@ -77,7 +77,7 @@ get_fstype ()
return
fi

eval $(fstype < ${1})
eval $(fstype < ${1} 2>/dev/null)

if [ "${FSTYPE}" != "unknown" ]
then
Expand Down

0 comments on commit f3d517c

Please sign in to comment.