summaryrefslogtreecommitdiff
path: root/lib/Vyatta/ConfigMgmt.pm
diff options
context:
space:
mode:
authorStig Thormodsrud <stig@vyatta.com>2010-10-28 11:28:31 -0700
committerStig Thormodsrud <stig@vyatta.com>2010-10-28 11:28:31 -0700
commit3c72265b610ef61de23de9ae85a536a833ae08c8 (patch)
tree21eb08a2f64b9c887eebd278572c0c4ef847def1 /lib/Vyatta/ConfigMgmt.pm
parentde8b643eb1ff7c056f4e5e9c920387ed2d2d2a11 (diff)
downloadvyatta-config-mgmt-3c72265b610ef61de23de9ae85a536a833ae08c8.tar.gz
vyatta-config-mgmt-3c72265b610ef61de23de9ae85a536a833ae08c8.zip
Move commit-uri under remote-archive.
Diffstat (limited to 'lib/Vyatta/ConfigMgmt.pm')
-rw-r--r--lib/Vyatta/ConfigMgmt.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Vyatta/ConfigMgmt.pm b/lib/Vyatta/ConfigMgmt.pm
index 85d9c72..7c2ab91 100644
--- a/lib/Vyatta/ConfigMgmt.pm
+++ b/lib/Vyatta/ConfigMgmt.pm
@@ -118,7 +118,7 @@ sub cm_commit_get_log {
my @lines = cm_read_file($commit_log_file);
my @commit_log = ();
- my $count = 0;
+ my $count = 1;
foreach my $line (@lines) {
if ($line !~ /^\|(.*)\|$/) {
print "Invalid log format [$line]\n";