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;
our $VERSION = "1.3.1";
our $VERSION = "1.3.2";
# Constants
sub LOG_DEBUG { return 5; }
......@@ -210,7 +210,7 @@ When using --backup, the following options are available...
=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
......@@ -723,7 +723,7 @@ Usage: $0 <options>
Default '/.backup-filter'
--append-backup-filter Append to any existing backup filter
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.
Zabbix Options:
......@@ -1267,7 +1267,7 @@ sub doBackup
}
# Prepend backup filter data to exiting 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
my $origBackupFilterData = "";
## 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