diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Vyatta/ConfigMgmt.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Vyatta/ConfigMgmt.pm b/lib/Vyatta/ConfigMgmt.pm index 21f8f3c..f896922 100644 --- a/lib/Vyatta/ConfigMgmt.pm +++ b/lib/Vyatta/ConfigMgmt.pm @@ -119,7 +119,7 @@ sub cm_get_max_revs { } sub cm_get_num_revs { - + return -1 if ! -e $commit_log_file; my @lines = cm_read_file($commit_log_file); my $num_revs = scalar(@lines); $num_revs-- if $num_revs > 0; # rev files start at 0 |