Code Review
/
vpp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
6c645ed
)
Remove autosudo from pythonic vppctl
46/7446/1
author
Ed Warnicke
<eaw@cisco.com>
Thu, 6 Jul 2017 14:43:17 +0000
(07:43 -0700)
committer
Ed 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
patch
|
blob
|
history
diff --git
a/src/scripts/vppctl
b/src/scripts/vppctl
index
0136918
..
a59b4b6
100755
(executable)
--- 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,