summaryrefslogtreecommitdiffstats
path: root/vpp-api-test/Makefile.am
diff options
context:
space:
mode:
authorPierre Pfister <ppfister@cisco.com>2016-11-03 13:14:29 +0000
committerDamjan Marion <dmarion.lists@gmail.com>2016-11-04 11:22:11 +0000
commitf524f0add51e603118184fcd42f5b8eeafa11462 (patch)
tree13130270a80ebd6ebb3984f9c68221406e88ac14 /vpp-api-test/Makefile.am
parent05ab8cbdd410f32766d184ad87e5f66a2d2426fe (diff)
vppctl: Do not use sudo if already root
When using sudo, environment variable such as the PATH are overwritten. This patch just checks if user is already root and does not use sudo in such situation. This allows using approaches like: sudo env PATH=path/to/vpp-binary/:$PATH vppctl Not really important in production setups, but this is handy for testing. Change-Id: I079c104d026ae7d378468380b012279a6e5d765d Signed-off-by: Pierre Pfister <ppfister@cisco.com>
Diffstat (limited to 'vpp-api-test/Makefile.am')
0 files changed, 0 insertions, 0 deletions