From: Jonathan McDowell Date: Tue, 30 Sep 2014 08:51:10 +0000 (+0100) Subject: Don't ignore errors in newly added Debian prerm script X-Git-Tag: onak-0.4.3~3 X-Git-Url: http://the.earth.li/gitweb/?p=onak.git;a=commitdiff_plain;h=fade89320441112348c9be856215954b3b3e46b7 Don't ignore errors in newly added Debian prerm script --- diff --git a/debian/prerm b/debian/prerm index 7fdade5..e3b75c4 100644 --- a/debian/prerm +++ b/debian/prerm @@ -1,5 +1,7 @@ #! /bin/sh +set -e + # If keyd was enabled then make sure to stop it. if grep -q -E '^use_keyd *(true|yes|1)$' /etc/onak.conf; then invoke-rc.d onak stop || exit $?