From: Ed Warnicke Date: Thu, 6 Jul 2017 14:43:17 +0000 (-0700) Subject: Remove autosudo from pythonic vppctl X-Git-Tag: v17.07~19 X-Git-Url: https://gerrit.fd.io/r/gitweb?a=commitdiff_plain;h=6a98580c707b40ebffb1853b04d7a614c6552aeb;p=vpp.git Remove autosudo from pythonic vppctl Change-Id: Iaea91a95d58678b8b3c56f3fceab76817e0f63ff Signed-off-by: Ed Warnicke --- diff --git a/src/scripts/vppctl b/src/scripts/vppctl index 01369189503..a59b4b66872 100755 --- a/src/scripts/vppctl +++ b/src/scripts/vppctl @@ -53,9 +53,6 @@ class Vppctl(Cmd): else: command = ['vpp_api_test',"chroot prefix %s " % self.api_prefix] - if os.geteuid() != 0: - command = ['sudo'] + command - vpp_process = subprocess.Popen(command, stderr=subprocess.PIPE, stdin=subprocess.PIPE,