projects
/
BackupPC.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
0a72237
)
support no dumps with -m 0
author
Dobrica Pavlinusic
<dpavlin@rot13.org>
Wed, 26 Jan 2011 22:25:36 +0000
(22:25 +0000)
committer
Dobrica Pavlinusic
<dpavlin@rot13.org>
Wed, 26 Jan 2011 22:25:36 +0000
(22:25 +0000)
bin/BackupPC_ASA_PostDump_SearchUpdate
patch
|
blob
|
history
diff --git
a/bin/BackupPC_ASA_PostDump_SearchUpdate
b/bin/BackupPC_ASA_PostDump_SearchUpdate
index
3c065a0
..
5cff61f
100755
(executable)
--- a/
bin/BackupPC_ASA_PostDump_SearchUpdate
+++ b/
bin/BackupPC_ASA_PostDump_SearchUpdate
@@
-513,7
+513,7
@@
foreach my $host_key (@hosts) {
foreach my $backup (@backups) {
$inc_nr++;
- last if ($opt{m} && $inc_nr > $opt{m});
+ last if (
defined
$opt{m} && $inc_nr > $opt{m});
my $backupNum = $backup->{'num'};
my @backupShares = ();