summaryrefslogtreecommitdiff
path: root/src/conf_mode
diff options
context:
space:
mode:
authorViacheslav Hletenko <v.gletenko@vyos.io>2022-07-28 23:03:41 +0000
committerViacheslav Hletenko <v.gletenko@vyos.io>2022-07-28 23:03:41 +0000
commit14418b6d80ef4652a44d9280baf369c8e3c429fd (patch)
tree59355848e24d6506b413f2b320e0ce0975e67e76 /src/conf_mode
parentb33de0bac8172f3571ffc6d46b87de0c906e1b48 (diff)
downloadvyos-1x-14418b6d80ef4652a44d9280baf369c8e3c429fd.tar.gz
vyos-1x-14418b6d80ef4652a44d9280baf369c8e3c429fd.zip
vyos.util: T4575: Add new wrapper "rc_cmd"
It is useful to have both a return code and output of the command Add a new wrapper "rc_cmd" that returns both % rc_cmd('uname') (0, 'Linux') % rc_cmd('ip link show dev fake') (1, 'Device "fake" does not exist.')
Diffstat (limited to 'src/conf_mode')
0 files changed, 0 insertions, 0 deletions