summaryrefslogtreecommitdiff
path: root/scripts/vyatta-commit-revs.pl
diff options
context:
space:
mode:
authorJohn Estabrook <jestabro@vyos.io>2022-03-08 12:05:28 -0600
committerJohn Estabrook <jestabro@vyos.io>2022-03-08 12:05:28 -0600
commit0ee95693887d35a1ecf8e084a76aa4845448603b (patch)
treef7a79f3eb6b4085e551eed6797784e55764cb6dc /scripts/vyatta-commit-revs.pl
parentaadde15ed0623a78c0fd079052f780c969c4c630 (diff)
downloadvyatta-config-mgmt-0ee95693887d35a1ecf8e084a76aa4845448603b.tar.gz
vyatta-config-mgmt-0ee95693887d35a1ecf8e084a76aa4845448603b.zip
save-config: T4292: use vyos-save-config.py
Diffstat (limited to 'scripts/vyatta-commit-revs.pl')
-rwxr-xr-xscripts/vyatta-commit-revs.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/vyatta-commit-revs.pl b/scripts/vyatta-commit-revs.pl
index f9fd2ff..7678a43 100755
--- a/scripts/vyatta-commit-revs.pl
+++ b/scripts/vyatta-commit-revs.pl
@@ -64,7 +64,7 @@ if (! -d $archive_dir) {
system("sudo chown vyatta:vyattacfg $archive_dir");
}
if (! defined $rollback) {
- my $cmd = '/opt/vyatta/sbin/vyatta-save-config.pl';
+ my $cmd = '/usr/libexec/vyos/vyos-save-config.py';
system("$cmd $tmp_config_file > /dev/null");
if (compare($tmp_config_file, $last_commit_file) == 0) {
exit 0;