diff options
| author | Simon Horman <horms@verge.net.au> | 2011-08-24 10:40:55 +0900 |
|---|---|---|
| committer | Ben Pfaff <blp@nicira.com> | 2011-08-24 09:45:44 -0700 |
| commit | 92f8ebf943aab10ad5923516a3d2803a555eed44 (patch) | |
| tree | 58beaade5383857d0fd1ba6754f3da2b011dd980 /debian | |
| parent | 2638c6dc5c7bb7552111530bbed95022113fac57 (diff) | |
| download | openvswitch-92f8ebf943aab10ad5923516a3d2803a555eed44.tar.gz | |
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.
Diffstat (limited to 'debian')
| -rwxr-xr-x | debian/openvswitch-brcompat.postinst | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/debian/openvswitch-brcompat.postinst b/debian/openvswitch-brcompat.postinst index 8113e31af..12e3b0557 100755 --- a/debian/openvswitch-brcompat.postinst +++ b/debian/openvswitch-brcompat.postinst @@ -1,5 +1,7 @@ #!/bin/sh +set -e + # If openvswitch-switch is installed, and then later openvswitch-brcompat is # installed, make sure that ovs-brcompatd starts. if test X"$1" = Xconfigure && \ |
