summaryrefslogtreecommitdiff
path: root/lib/Vyatta/ConfigMgmt.pm
diff options
context:
space:
mode:
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";