]> git.proxmox.com Git - mirror_zfs-debian.git/commitdiff
Add -e switch to the zfs-dkms.postinst whackbang.
authorDarik Horn <dajhorn@vanadac.com>
Thu, 5 May 2011 20:07:09 +0000 (15:07 -0500)
committerDarik Horn <dajhorn@vanadac.com>
Fri, 6 May 2011 00:32:50 +0000 (19:32 -0500)
Resolve this lintian warning:

W: zfs-dkms: maintainer-script-ignores-errors postinst
N:
N:    The maintainer script doesn't seem to set the -e flag which ensures that
N:    the script's execution is aborted when any executed command fails.
N:
N:    Refer to Debian Policy Manual section 10.4 (Scripts) for details.
N:
N:    Severity: normal, Certainty: certain
N:

debian/zfs-dkms.postinst

index a2c66fa239a338b67e02cbc8c1c0581b41aef977..07fe0c204aa491e356d6ac79ac4b211aa3a8413a 100644 (file)
@@ -1,3 +1,3 @@
-#!/bin/sh
+#!/bin/sh -e
 
 #DEBHELPER#