summaryrefslogtreecommitdiff
path: root/src/aif.sh
diff options
context:
space:
mode:
authorDieter Plaetinck <dieter@plaetinck.be>2009-03-01 17:59:07 +0100
committerDieter Plaetinck <dieter@plaetinck.be>2009-03-01 17:59:07 +0100
commit931ab8f34899cabe293df900d19f470c50537ce6 (patch)
tree0a8bf83390f5de70d48acc50a6af84ba04b01184 /src/aif.sh
parentc8176330144c982f2c20b3672a5ad4bb42a320b9 (diff)
fix for undefined die_error + avoid loops
Diffstat (limited to 'src/aif.sh')
-rwxr-xr-xsrc/aif.sh10
1 files changed, 9 insertions, 1 deletions
diff --git a/src/aif.sh b/src/aif.sh
index 92467d9..54ed0a7 100755
--- a/src/aif.sh
+++ b/src/aif.sh
@@ -35,7 +35,15 @@ Available procedures:
}
-##### TMP functions that we need during early bootstrap but will be overidden with decent functions by libraries ######
+##### TMP functions that we need during early bootstrap but will be overidden with decent functions from libraries ######
+
+
+# Do not call other functions like debug, notify, .. here because that might cause loops!
+die_error ()
+{
+ echo "ERROR: $@" >&2
+ exit 2
+}
notify ()