Use common reload function

This commit is contained in:
Jamie Cameron
2024-03-29 15:17:32 -07:00
parent a260ad5acd
commit 56abe45e64

View File

@@ -34,8 +34,7 @@ return undef;
sub post_restore
{
if (&is_postfix_running()) {
local $out = `$config{'postfix_control_command'} -c $config_dir reload 2>&1`;
return "<tt>$out</tt>" if ($?);
return &reload_postfix();
}
return undef;
}