From: Giuseppe Lettieri Date: Tue, 12 Jun 2012 15:41:13 +0000 (+0200) Subject: bug fix (wrong paramether id) X-Git-Tag: sliver-openvswitch-0.1-1~15 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=25b257179790c4dc21564e0652a525c2641e144f;p=sliver-openvswitch.git bug fix (wrong paramether id) --- diff --git a/planetlab/scripts/del_port b/planetlab/scripts/del_port index 5b1ef8e04..8fbfb2a6d 100755 --- a/planetlab/scripts/del_port +++ b/planetlab/scripts/del_port @@ -11,6 +11,6 @@ if [ -z "$1" ]; then fi set -e -if ovs-vsctl port-to-br "$2" >/dev/null 2>&1; then - ovs-vsctl del-port "$2" +if ovs-vsctl port-to-br "$1" >/dev/null 2>&1; then + ovs-vsctl del-port "$1" fi