mirror of
https://github.com/opennetworkinglab/onos.git
synced 2026-05-05 04:06:49 +02:00
Correctly print message if arping isn't installed
Change-Id: Ia8e6a305bebb51556974b72c83d86b472b6918e5
This commit is contained in:
parent
c0c27c0d02
commit
c3de5152b3
@ -559,8 +559,8 @@ class ONOSCLI( OldCLI ):
|
||||
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:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user