Don't bother trying to parse the config file if needed module is missing https://www.virtualmin.com/node/67051

This commit is contained in:
Jamie Cameron
2019-08-31 19:11:05 -07:00
parent fd3b2efa3d
commit 2148cb9588

View File

@@ -33,6 +33,7 @@ return undef;
# Called after the files are restored from a backup
sub post_restore
{
return undef if (!$got_xml_parser);
if (&check_pid_file(&jabber_pid_file())) {
$err = &stop_jabber();
return $err if ($err);