mirror of
https://github.com/percona/percona-toolkit.git
synced 2025-09-11 13:40:07 +00:00
many scripts failed when reading no-version-check from global config file - 1361293
This commit is contained in:
@@ -347,6 +347,9 @@ _parse_config_files() {
|
||||
# Skip blank lines.
|
||||
[ "$config_opt" = "" ] && continue
|
||||
|
||||
# Skip global option [no]version-check which don't apply
|
||||
echo "$config_opt" | grep -v 'version-check' >/dev/null 2>&1 || continue
|
||||
|
||||
# Options in a config file are not prefixed with --,
|
||||
# but command line options are, so one or the other has
|
||||
# to add or remove the -- prefix. We add it for config
|
||||
|
Reference in New Issue
Block a user