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:
parent
bc00016122
commit
29bbb0ca9f
@ -34,7 +34,7 @@ fi
|
|||||||
|
|
||||||
# If the haiku image path is a symlink resolve it now (makebootable needs the
|
# If the haiku image path is a symlink resolve it now (makebootable needs the
|
||||||
# path of the actual device path under Linux).
|
# 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")
|
normalizedImagePath=$(readlink -f "$imagePath")
|
||||||
if [ "$normalizedImagePath" ]; then
|
if [ "$normalizedImagePath" ]; then
|
||||||
imagePath="$normalizedImagePath"
|
imagePath="$normalizedImagePath"
|
||||||
|
Loading…
Reference in New Issue
Block a user