Fix stream redirection order so stderr actually goes to /dev/null.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35412 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
François Revol 2010-02-05 09:28:40 +00:00
parent bc00016122
commit 29bbb0ca9f
1 changed files with 1 additions and 1 deletions

View File

@ -34,7 +34,7 @@ fi
# If the haiku image path is a symlink resolve it now (makebootable needs the
# path of the actual device path under Linux).
if readlink -f "$imagePath" 2>&1 > /dev/null; then
if readlink -f "$imagePath" > /dev/null 2>&1 ; then
normalizedImagePath=$(readlink -f "$imagePath")
if [ "$normalizedImagePath" ]; then
imagePath="$normalizedImagePath"