Remove autosudo from pythonic vppctl 46/7446/1
authorEd Warnicke <eaw@cisco.com>
Thu, 6 Jul 2017 14:43:17 +0000 (07:43 -0700)
committerEd Warnicke <eaw@cisco.com>
Thu, 6 Jul 2017 14:43:17 +0000 (07:43 -0700)
Change-Id: Iaea91a95d58678b8b3c56f3fceab76817e0f63ff
Signed-off-by: Ed Warnicke <eaw@cisco.com>
src/scripts/vppctl

index 0136918..a59b4b6 100755 (executable)
@@ -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,