diff --git a/modules/system/activation/switch-to-configuration.pl b/modules/system/activation/switch-to-configuration.pl index a4ca287b420..23fd0d77796 100644 --- a/modules/system/activation/switch-to-configuration.pl +++ b/modules/system/activation/switch-to-configuration.pl @@ -114,7 +114,7 @@ while (my ($unit, $state) = each %{$activePrev}) { # FIXME: do something? } else { my $unitInfo = parseUnit($newUnitFile); - if ($unitInfo->{'X-RestartIfChanged'} eq "false") { + if (($unitInfo->{'X-RestartIfChanged'} // "true") eq "false") { push @unitsToSkip, $unit; } else { # Record that this unit needs to be started below. We