Commit 44977d73 authored by Nigel Kukard's avatar Nigel Kukard

Fixed wording used for prepend, which was output as append

parent d264b711
...@@ -57,7 +57,7 @@ use Sys::Hostname; ...@@ -57,7 +57,7 @@ use Sys::Hostname;
our $VERSION = "1.3.1"; our $VERSION = "1.3.2";
# Constants # Constants
sub LOG_DEBUG { return 5; } sub LOG_DEBUG { return 5; }
...@@ -210,7 +210,7 @@ When using --backup, the following options are available... ...@@ -210,7 +210,7 @@ When using --backup, the following options are available...
=head2 --prepend-backup-filter =head2 --prepend-backup-filter
Append to any existing backup filter insted of overwriting it. Prepend to any existing backup filter insted of overwriting it.
=head1 ZABBIX OPTIONS =head1 ZABBIX OPTIONS
...@@ -723,7 +723,7 @@ Usage: $0 <options> ...@@ -723,7 +723,7 @@ Usage: $0 <options>
Default '/.backup-filter' Default '/.backup-filter'
--append-backup-filter Append to any existing backup filter --append-backup-filter Append to any existing backup filter
insted of overwriting it. insted of overwriting it.
--prepend-backup-filter Append to any existing backup filter --prepend-backup-filter Prepend to any existing backup filter
insted of overwriting it. insted of overwriting it.
Zabbix Options: Zabbix Options:
...@@ -1267,7 +1267,7 @@ sub doBackup ...@@ -1267,7 +1267,7 @@ sub doBackup
} }
# Prepend backup filter data to exiting backup filter # Prepend backup filter data to exiting backup filter
} elsif (defined($globalConfig{'prepend-backup-filter'}) && $globalConfig{'prepend-backup-filter'}) { } elsif (defined($globalConfig{'prepend-backup-filter'}) && $globalConfig{'prepend-backup-filter'}) {
printLog(LOG_INFO,"RSYNC: - Appending backup filter '%s' to '%s'",$backupFilter,$backupFilterDest); printLog(LOG_INFO,"RSYNC: - Prepending backup filter '%s' to '%s'",$backupFilter,$backupFilterDest);
# Open the destination # Open the destination
my $origBackupFilterData = ""; my $origBackupFilterData = "";
## no critic (InputOutput::RequireBriefOpen) ## no critic (InputOutput::RequireBriefOpen)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment