3
0
Fork 0
forked from mirrors/nixpkgs

Fix a Perl warning

This commit is contained in:
Eelco Dolstra 2012-08-20 11:32:50 -04:00
parent 08f14b33c1
commit 3f4ffffed7

View file

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