Correctly print message if arping isn't installed
Change-Id: Ia8e6a305bebb51556974b72c83d86b472b6918e5
diff --git a/tools/dev/mininet/onos.py b/tools/dev/mininet/onos.py
index bbc67d3..8edc594 100755
--- a/tools/dev/mininet/onos.py
+++ b/tools/dev/mininet/onos.py
@@ -559,8 +559,8 @@
except:
count = 1
# Technically this check should be on the host
- if '-U' not in quietRun( 'arping -h' ):
- warn( 'Please install iputils-arping' )
+ if '-U' not in quietRun( 'arping -h', shell=True ):
+ warn( 'Please install iputils-arping.\n' )
return
# This is much faster if we do it in parallel
for host in self.mn.net.hosts: