mirror of
https://github.com/percona/percona-toolkit.git
synced 2025-09-07 04:49:48 +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');
|
||||
|
||||
if ( !$o->get('install') ) {
|
||||
check_deps();
|
||||
exit 1;
|
||||
}
|
||||
|
||||
# ########################################################################
|
||||
# Connect to MysSQL later, maybe.
|
||||
# ########################################################################
|
||||
@@ -5324,6 +5319,10 @@ sub main {
|
||||
);
|
||||
return $exit_status;
|
||||
}
|
||||
else {
|
||||
$logger->fatal("Missing required Perl modules")
|
||||
if check_deps();
|
||||
}
|
||||
|
||||
# ########################################################################
|
||||
# Nothing works without an API key.
|
||||
|
Reference in New Issue
Block a user