diff options
| author | Simon Horman <horms@verge.net.au> | 2010-09-21 12:06:13 +0900 |
|---|---|---|
| committer | Ben Pfaff <blp@nicira.com> | 2010-09-21 10:39:31 -0700 |
| commit | b9ddc6aaaea369faf7787b690de2ae56ffd08ad9 (patch) | |
| tree | e8191f7b528cb8cde470014730aeb7ea46ddfae8 /debian/openvswitch-switch.init | |
| parent | 2ed7d6e227c009f0f6bdabbb85262d8aac896e00 (diff) | |
| download | openvswitch-b9ddc6aaaea369faf7787b690de2ae56ffd08ad9.tar.gz | |
debian: Dont fail init if module cant be inserted
The problem here is that the daemon is started/restarted on
package installation, but the module may not be present at that
time and (as far as I know) its bad form to fail the package installation
in that circumstance.
In keeping with the way ipvsadm handles a similar problem,
exit with a non-error exit status if the module can't be inserted.
The loud error message is still displayed.
Signed-off-by: Simon Horman <horms@verge.net.au>
Signed-off-by: Ben Pfaff <blp@nicira.com>
Diffstat (limited to 'debian/openvswitch-switch.init')
| -rwxr-xr-x | debian/openvswitch-switch.init | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/debian/openvswitch-switch.init b/debian/openvswitch-switch.init index 34b5604dc..600c18564 100755 --- a/debian/openvswitch-switch.init +++ b/debian/openvswitch-switch.init @@ -157,7 +157,7 @@ load_module() { echo "For instructions, read" echo "/usr/share/doc/openvswitch-datapath-source/README.Debian" fi - exit 1 + exit 0 fi } |
