From c3de5152b37289f4912466b5954bef6592cd8da2 Mon Sep 17 00:00:00 2001 From: Bob Lantz Date: Fri, 17 Jun 2016 17:13:57 -0700 Subject: [PATCH] Correctly print message if arping isn't installed Change-Id: Ia8e6a305bebb51556974b72c83d86b472b6918e5 --- tools/dev/mininet/onos.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/dev/mininet/onos.py b/tools/dev/mininet/onos.py index bbc67d3803..8edc59468b 100755 --- a/tools/dev/mininet/onos.py +++ b/tools/dev/mininet/onos.py @@ -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: