summaryrefslogtreecommitdiff
path: root/functions
diff options
context:
space:
mode:
Diffstat (limited to 'functions')
-rw-r--r--functions/interpreter/vyatta-cfg-run2
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 ()