summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Biebl <biebl@debian.org>2014-02-13 18:52:45 +0100
committerMichael Biebl <biebl@debian.org>2014-03-13 18:15:13 +0100
commit6fb5bc2c776fafb0746b47d8c770868b95da855c (patch)
tree4101a7cdaec947bd11314ff3e184b525ad621652
parent4dc1f3020e0dae78549a15627a495798138c830e (diff)
downloadrsyslog-6fb5bc2c776fafb0746b47d8c770868b95da855c.tar.gz
Drop useless "exit 0" from maintainer scripts
We use "set -e" everywhere.
-rw-r--r--debian/changelog1
-rw-r--r--debian/rsyslog-mysql.postinst2
-rw-r--r--debian/rsyslog-mysql.postrm2
-rw-r--r--debian/rsyslog-mysql.prerm2
-rw-r--r--debian/rsyslog-pgsql.postinst2
-rw-r--r--debian/rsyslog-pgsql.postrm2
-rw-r--r--debian/rsyslog-pgsql.prerm2
-rw-r--r--debian/rsyslog.postinst3
-rw-r--r--debian/rsyslog.postrm2
-rw-r--r--debian/rsyslog.preinst2
10 files changed, 1 insertions, 19 deletions
diff --git a/debian/changelog b/debian/changelog
index 2804abd..379d83d 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -6,6 +6,7 @@ rsyslog (7.6.1-1) UNRELEASED; urgency=medium
- Bump librelp-dev to (>= 1.2.3).
- Add liblogging-stdlog-dev (>= 1.0.1).
* Fix typo in rsyslog.postrm: dissappear → disappear
+ * Drop useless "exit 0" from maintainer scripts.
-- Michael Biebl <biebl@debian.org> Thu, 13 Mar 2014 18:07:48 +0100
diff --git a/debian/rsyslog-mysql.postinst b/debian/rsyslog-mysql.postinst
index 2e08b9b..49a8fdf 100644
--- a/debian/rsyslog-mysql.postinst
+++ b/debian/rsyslog-mysql.postinst
@@ -41,5 +41,3 @@ esac
#DEBHELPER#
-
-exit 0
diff --git a/debian/rsyslog-mysql.postrm b/debian/rsyslog-mysql.postrm
index be625a5..103278e 100644
--- a/debian/rsyslog-mysql.postrm
+++ b/debian/rsyslog-mysql.postrm
@@ -51,5 +51,3 @@ esac
#DEBHELPER#
-
-exit 0
diff --git a/debian/rsyslog-mysql.prerm b/debian/rsyslog-mysql.prerm
index 2c8d719..5a70d81 100644
--- a/debian/rsyslog-mysql.prerm
+++ b/debian/rsyslog-mysql.prerm
@@ -8,5 +8,3 @@ set -e
dbc_go rsyslog-mysql $@
#DEBHELPER#
-
-exit 0
diff --git a/debian/rsyslog-pgsql.postinst b/debian/rsyslog-pgsql.postinst
index c11dd5a..77bb245 100644
--- a/debian/rsyslog-pgsql.postinst
+++ b/debian/rsyslog-pgsql.postinst
@@ -41,5 +41,3 @@ esac
#DEBHELPER#
-
-exit 0
diff --git a/debian/rsyslog-pgsql.postrm b/debian/rsyslog-pgsql.postrm
index d48ff21..5de1fb3 100644
--- a/debian/rsyslog-pgsql.postrm
+++ b/debian/rsyslog-pgsql.postrm
@@ -51,5 +51,3 @@ esac
#DEBHELPER#
-
-exit 0
diff --git a/debian/rsyslog-pgsql.prerm b/debian/rsyslog-pgsql.prerm
index 02d4ed4..e150dd3 100644
--- a/debian/rsyslog-pgsql.prerm
+++ b/debian/rsyslog-pgsql.prerm
@@ -8,5 +8,3 @@ set -e
dbc_go rsyslog-pgsql $@
#DEBHELPER#
-
-exit 0
diff --git a/debian/rsyslog.postinst b/debian/rsyslog.postinst
index a4fb3a0..7bcc66f 100644
--- a/debian/rsyslog.postinst
+++ b/debian/rsyslog.postinst
@@ -34,7 +34,4 @@ case "$1" in
;;
esac
-
#DEBHELPER#
-
-exit 0
diff --git a/debian/rsyslog.postrm b/debian/rsyslog.postrm
index 37324ac..e50a4f0 100644
--- a/debian/rsyslog.postrm
+++ b/debian/rsyslog.postrm
@@ -16,5 +16,3 @@ if [ "$1" = "remove" ]; then
fi
#DEBHELPER#
-
-exit 0
diff --git a/debian/rsyslog.preinst b/debian/rsyslog.preinst
index fce810f..18897fc 100644
--- a/debian/rsyslog.preinst
+++ b/debian/rsyslog.preinst
@@ -11,5 +11,3 @@ if [ "$1" = "upgrade" ] && dpkg --compare-versions "$2" lt "5.7.8-1" ; then
fi
#DEBHELPER#
-
-exit 0