summaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
authormaximilian attems <maks@debian.org>2008-12-15 11:09:21 +0100
committermaximilian attems <maks@debian.org>2008-12-15 11:09:21 +0100
commit3c620c38f29a7372e544f17a4fa5da55eabe30bf (patch)
tree1d85be4a3fc92bb9c38d82cc5b91d237bd9032f3 /debian
parentdea1e93a1783c40463663619ecd55ab26aa890e3 (diff)
downloadinitramfs-tools-3c620c38f29a7372e544f17a4fa5da55eabe30bf.tar.gz
initramfs-tools-3c620c38f29a7372e544f17a4fa5da55eabe30bf.zip
postrm: set -e flag
harmless as the postrm is small, but better be clean.
Diffstat (limited to 'debian')
-rw-r--r--debian/initramfs-tools.postrm2
1 files changed, 2 insertions, 0 deletions
diff --git a/debian/initramfs-tools.postrm b/debian/initramfs-tools.postrm
index 6896636..f66e01a 100644
--- a/debian/initramfs-tools.postrm
+++ b/debian/initramfs-tools.postrm
@@ -1,5 +1,7 @@
#!/bin/sh
+set -e
+
if [ "x${1}" = "xpurge" ]; then
rm -f /etc/initramfs-tools/conf.d/resume
rm -f /etc/initramfs-tools/modules