diff options
author | Kim Hagen <kim@sentrium.io> | 2020-10-17 08:07:32 -0500 |
---|---|---|
committer | Kim Hagen <kim@sentrium.io> | 2020-10-17 08:07:32 -0500 |
commit | 6d716ad460d5cab22e3fd85dea1acc5e18806ce0 (patch) | |
tree | b817564e23651a17cc86db5ac4af3d3bfa80d6d8 /functions | |
parent | 6525387599f147649d9d3afdc7f48a4a997aa9e0 (diff) | |
download | vyatta-cfg-6d716ad460d5cab22e3fd85dea1acc5e18806ce0.tar.gz vyatta-cfg-6d716ad460d5cab22e3fd85dea1acc5e18806ce0.zip |
Config: T2834: Config rollback function is broken due lack access to the config.boot
Diffstat (limited to 'functions')
-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 5034284..d1aed3a 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 () |