summaryrefslogtreecommitdiff
path: root/etc/functions/die
diff options
context:
space:
mode:
authorDaniel Friesel <derf@derf.homelinux.org>2008-09-12 19:47:29 +0200
committerDaniel Friesel <derf@derf.homelinux.org>2008-09-12 19:47:29 +0200
commit4c2bd1a1a4fa71565281fae703a7bd6e757a0d9e (patch)
tree2c241300de66dfbed0fbbcec5f82ae5020699267 /etc/functions/die
parent86ea718e63c08460c42e6714a543de9d401bf2df (diff)
Added functions: die, info, warn
Diffstat (limited to 'etc/functions/die')
-rw-r--r--etc/functions/die2
1 files changed, 2 insertions, 0 deletions
diff --git a/etc/functions/die b/etc/functions/die
new file mode 100644
index 0000000..6aadfaf
--- /dev/null
+++ b/etc/functions/die
@@ -0,0 +1,2 @@
+echo -e "${fail}${*}${reset}"
+exit 1