aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEd Warnicke <eaw@cisco.com>2017-07-06 07:43:17 -0700
committerEd Warnicke <eaw@cisco.com>2017-07-06 07:43:17 -0700
commit6a98580c707b40ebffb1853b04d7a614c6552aeb (patch)
tree81b51e9df9ad10898154bc39cf21eba42eea0acb
parent6c645ed01cb9f4ac02b6420841c217b49045ce13 (diff)
Remove autosudo from pythonic vppctl
Change-Id: Iaea91a95d58678b8b3c56f3fceab76817e0f63ff Signed-off-by: Ed Warnicke <eaw@cisco.com>
-rwxr-xr-xsrc/scripts/vppctl3
1 files changed, 0 insertions, 3 deletions
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,