diff options
-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 () |