summaryrefslogtreecommitdiff
path: root/includes/patch-includes.sh
diff options
context:
space:
mode:
Diffstat (limited to 'includes/patch-includes.sh')
-rw-r--r--includes/patch-includes.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/includes/patch-includes.sh b/includes/patch-includes.sh
index 7081e9d..c9bbd30 100644
--- a/includes/patch-includes.sh
+++ b/includes/patch-includes.sh
@@ -36,3 +36,13 @@ function getpatch
wget $url -O $TMPDIR/$filename || die
fi
}
+
+function die
+{
+ # override main die for patches so they won't wipe out
+ # a whole install
+
+ echo " ! The patch install failed; sorry." 1>&2
+
+ exit 1
+}