Fix call to check_deps() for normal runs.

This commit is contained in:
Daniel Nichter
2013-06-15 12:52:37 -07:00
parent e3a8afc5b0
commit ccb2a7e7c7

View File

@@ -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.