diff options
author | Mario Preksavec <mario@slackware.hr> | 2015-04-14 22:27:05 +0200 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2015-04-19 11:24:11 +0700 |
commit | 91da7544baa3c08d2d2285e81a87f205825e3053 (patch) | |
tree | 5b7dc8ba5a68c0148a732c0229b165f1cc0e53d9 /system/xen/openvswitch | |
parent | dcc0af41777de0cd08505ad503aeebc0a3933cd0 (diff) | |
download | slackbuilds-91da7544baa3c08d2d2285e81a87f205825e3053.tar.gz |
system/xen: Contrib script bugfix.
Signed-off-by: Mario Preksavec <mario@slackware.hr>
Diffstat (limited to 'system/xen/openvswitch')
-rw-r--r-- | system/xen/openvswitch/openvswitch-clean.sh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/system/xen/openvswitch/openvswitch-clean.sh b/system/xen/openvswitch/openvswitch-clean.sh index 2d02d0ea44..f43aee16b8 100644 --- a/system/xen/openvswitch/openvswitch-clean.sh +++ b/system/xen/openvswitch/openvswitch-clean.sh @@ -25,12 +25,16 @@ if [ -f /etc/xen/openvswitch.conf ]; then ipv4=${ipv4[$name]} elif [ ! -z ${ipv4[::default]} ]; then ipv4=${ipv4[::default]} + else + ipv4= fi if [ ! -z ${ipv6[$name]} ]; then ipv6=${ipv6[$name]} elif [ ! -z ${ipv6[::default]} ]; then ipv6=${ipv6[::default]} + else + ipv6= fi # Domain can have more then one vif |