Debian: set -e in brcompat postinst
authorSimon Horman <horms@verge.net.au>
Wed, 24 Aug 2011 01:40:55 +0000 (10:40 +0900)
committerBen Pfaff <blp@nicira.com>
Wed, 24 Aug 2011 16:45:44 +0000 (09:45 -0700)
commit92f8ebf943aab10ad5923516a3d2803a555eed44
tree58beaade5383857d0fd1ba6754f3da2b011dd980
parent2638c6dc5c7bb7552111530bbed95022113fac57
Debian: set -e in brcompat postinst

As reported by lintian:

The maintainer script doesn't seem to set the -e flag which ensures
that the script's execution is aborted when any executed command
fails.

Refer to Debian Policy Manual section 10.4 (Scripts) for details.
debian/openvswitch-brcompat.postinst