Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
awit-backstep
awit-backstep-traceback
Commits
44977d73
Commit
44977d73
authored
Mar 10, 2017
by
Nigel Kukard
Browse files
Fixed wording used for prepend, which was output as append
parent
d264b711
Changes
1
Hide whitespace changes
Inline
Side-by-side
backstep-traceback
View file @
44977d73
...
...
@@ -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
Ap
pend to any existing backup filter insted of overwriting it.
Pre
pend 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
Ap
pend to any existing backup filter
--prepend-backup-filter
Pre
pend 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: -
Ap
pending backup filter '%s' to '%s'"
,$
backupFilter
,$
backupFilterDest
);
printLog
(
LOG_INFO
,
"RSYNC: -
Pre
pending backup filter '%s' to '%s'"
,$
backupFilter
,$
backupFilterDest
);
#
Open
the
destination
my
$
origBackupFilterData
=
""
;
##
no
critic
(
InputOutput
::
RequireBriefOpen
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment