summaryrefslogtreecommitdiff
path: root/etc/functions/die
diff options
context:
space:
mode:
authorDaniel Friesel <derf@derf.homelinux.org>2009-03-13 21:47:32 +0100
committerDaniel Friesel <derf@derf.homelinux.org>2009-03-13 21:47:32 +0100
commitb94180bb006da19fd1279c7e78f526e75097a1e5 (patch)
tree99f4157219082cb4a322f13e7438ae386167abaa /etc/functions/die
parentaa6173e254e455bdf1b7d48165fe5b595e32ebf6 (diff)
die, fdie, warn: Print to stderr
Diffstat (limited to 'etc/functions/die')
-rw-r--r--etc/functions/die3
1 files changed, 2 insertions, 1 deletions
diff --git a/etc/functions/die b/etc/functions/die
index 6aadfaf..5792d4b 100644
--- a/etc/functions/die
+++ b/etc/functions/die
@@ -1,2 +1,3 @@
-echo -e "${fail}${*}${reset}"
+## vim:ft=zsh
+echo -e "${fail}${*}${reset}" > /dev/stderr
exit 1