From cfb0a6d3f0745fe63f0e2d63d071e9cd006bd409 Mon Sep 17 00:00:00 2001 From: Bob Lantz Date: Tue, 9 Apr 2019 12:17:35 -0700 Subject: [PATCH] Silence warning for failing to stop ovs-testcontroller --- util/install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util/install.sh b/util/install.sh index 4453bc0..44280ee 100755 --- a/util/install.sh +++ b/util/install.sh @@ -409,7 +409,7 @@ function ovs { # Switch can run on its own, but # Mininet should control the controller # This appears to only be an issue on Ubuntu/Debian - if sudo service $OVSC stop; then + if sudo service $OVSC stop 2>/dev/null; then echo "Stopped running controller" fi if [ -e /etc/init.d/$OVSC ]; then