tools: fix unbinding failure handling
authorJeff Shaw <jeffrey.b.shaw@intel.com>
Tue, 9 Feb 2016 00:33:46 +0000 (16:33 -0800)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Tue, 9 Feb 2016 11:54:09 +0000 (12:54 +0100)
commitda82ee17e6ea99bf2931383ac33b0caccaaaefce
treedc030e4ce04826d330413775e62dcf6a1c72101a
parente45ae7065e92ade35d6a3883a986a4210c78cc24
tools: fix unbinding failure handling

We should call sys.exit(), not divide sys by exit().

Signed-off-by: Jeff Shaw <jeffrey.b.shaw@intel.com>
Acked-by: Bruce Richardson <bruce.richardson@intel.com>
tools/dpdk_nic_bind.py