summaryrefslogtreecommitdiff
path: root/bin/pkg
diff options
context:
space:
mode:
authorDaniel Friesel <derf@derf.homelinux.org>2008-06-26 22:54:19 +0200
committerDaniel Friesel <derf@derf.homelinux.org>2008-06-26 22:54:19 +0200
commita52bddd20225232de958aa1a73f4fab20367b4f4 (patch)
tree256bcfb9f9eb1b98780f2a135c9bb1367d705875 /bin/pkg
parent1877b4efa0004246cf194d24771aba83a2d0e21d (diff)
bin/pkg: Print warnings/errors to stderr
Diffstat (limited to 'bin/pkg')
-rwxr-xr-xbin/pkg4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/pkg b/bin/pkg
index d70476b..3d35aa6 100755
--- a/bin/pkg
+++ b/bin/pkg
@@ -17,11 +17,11 @@ info () {
}
warn () {
- echo -ne "${error}$*${reset}"
+ echo -ne "${error}$*${reset}" > /dev/stderr
}
die () {
- echo -ne "${error}$*${reset}"
+ echo -ne "${error}$*${reset}" > /dev/stderr
exit 100
}