[type/__package_pkg_openbsd] Send error messages to stderr
This commit is contained in:
parent
75afdd4d69
commit
c492c53a98
1 changed files with 2 additions and 2 deletions
|
@ -96,7 +96,7 @@ if [ \$? -ne 0 ]; then
|
||||||
if [ -z "\${status}" ]; then
|
if [ -z "\${status}" ]; then
|
||||||
status="Failed to add package, uncaught exception."
|
status="Failed to add package, uncaught exception."
|
||||||
fi
|
fi
|
||||||
echo "Error: \$status"
|
echo "Error: \$status" >&2
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
eof
|
eof
|
||||||
|
@ -114,7 +114,7 @@ if [ \$? -eq 0 ]; then
|
||||||
if [ -z "\${status}" ]; then
|
if [ -z "\${status}" ]; then
|
||||||
status="Failed to remove package, uncaught exception."
|
status="Failed to remove package, uncaught exception."
|
||||||
fi
|
fi
|
||||||
echo "Error: \$status"
|
echo "Error: \$status" >&2
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
eof
|
eof
|
||||||
|
|
Loading…
Reference in a new issue