From 6a98580c707b40ebffb1853b04d7a614c6552aeb Mon Sep 17 00:00:00 2001 From: Ed Warnicke Date: Thu, 6 Jul 2017 07:43:17 -0700 Subject: Remove autosudo from pythonic vppctl Change-Id: Iaea91a95d58678b8b3c56f3fceab76817e0f63ff Signed-off-by: Ed Warnicke --- src/scripts/vppctl | 3 --- 1 file changed, 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, -- cgit 1.2.3-korg