mirror of
https://github.com/percona/percona-toolkit.git
synced 2025-09-11 21:51:21 +00:00
Fix call to check_deps() for normal runs.
This commit is contained in:
@@ -5289,11 +5289,6 @@ sub main {
|
|||||||
|
|
||||||
$OUTPUT_AUTOFLUSH = 1 if $o->get('interactive') || $o->get('install');
|
$OUTPUT_AUTOFLUSH = 1 if $o->get('interactive') || $o->get('install');
|
||||||
|
|
||||||
if ( !$o->get('install') ) {
|
|
||||||
check_deps();
|
|
||||||
exit 1;
|
|
||||||
}
|
|
||||||
|
|
||||||
# ########################################################################
|
# ########################################################################
|
||||||
# Connect to MysSQL later, maybe.
|
# Connect to MysSQL later, maybe.
|
||||||
# ########################################################################
|
# ########################################################################
|
||||||
@@ -5324,6 +5319,10 @@ sub main {
|
|||||||
);
|
);
|
||||||
return $exit_status;
|
return $exit_status;
|
||||||
}
|
}
|
||||||
|
else {
|
||||||
|
$logger->fatal("Missing required Perl modules")
|
||||||
|
if check_deps();
|
||||||
|
}
|
||||||
|
|
||||||
# ########################################################################
|
# ########################################################################
|
||||||
# Nothing works without an API key.
|
# Nothing works without an API key.
|
||||||
|
Reference in New Issue
Block a user