Commit ce9aeb88 authored by Sergei Petrunia's avatar Sergei Petrunia

MariaRocks port: Support --force-restart "pseudo-argument", part#2

parent 600a2075
......@@ -5256,7 +5256,7 @@ sub server_need_restart {
sub servers_need_restart($) {
my ($tinfo)= @_;
if ($tinfo->{'force_restart'} == 1) {
if (defined($tinfo->{'force_restart'})) {
return all_servers();
} else {
return grep { server_need_restart($tinfo, $_); } all_servers();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment