diff options
author | Daniil Baturin <daniil@vyos.io> | 2020-10-17 20:13:52 +0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-17 20:13:52 +0700 |
commit | 14213049981e1fa0f67b16e665e343e54734cf02 (patch) | |
tree | 678c7f9431d4e204b1a2dd4d66c7e178509f7fe0 | |
parent | b4a4b41cde33e5c9ac4f75601317c2e221c8cc42 (diff) | |
parent | 1a1e9d51c095fe4e84be9d17453385379b468ddf (diff) | |
download | vyatta-cfg-14213049981e1fa0f67b16e665e343e54734cf02.tar.gz vyatta-cfg-14213049981e1fa0f67b16e665e343e54734cf02.zip |
Merge pull request #28 from UnicronNL/crux
Config: T2834: Config rollback function is broken due lack access to …
-rw-r--r-- | functions/interpreter/vyatta-cfg-run | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/functions/interpreter/vyatta-cfg-run b/functions/interpreter/vyatta-cfg-run index e0bcfaf..91d26d1 100644 --- a/functions/interpreter/vyatta-cfg-run +++ b/functions/interpreter/vyatta-cfg-run @@ -205,7 +205,7 @@ vyatta_config_rollback () echo "Error: must include a revision # to rollback to" return 1; fi - ${vyatta_sbindir}/vyatta-config-mgmt.pl --action=rollback --revnum "$@" + sudo ${vyatta_sbindir}/vyatta-config-mgmt.pl --action=rollback --revnum "$@" } shutdown () |