aboutsummaryrefslogtreecommitdiff
path: root/functions
diff options
context:
space:
mode:
Diffstat (limited to 'functions')
-rw-r--r--functions6
1 files changed, 6 insertions, 0 deletions
diff --git a/functions b/functions
index 2923928..608af1d 100644
--- a/functions
+++ b/functions
@@ -24,6 +24,12 @@ stat_fail() {
echo " FAILED ]"
}
+stat_die() {
+ deltext
+ echo " FAILED ]"
+ exit 1
+}
+
checkret() {
$* >/dev/null 2>&1
if [ $? -gt 0 ]; then