switch-to-configuration: Ignore slice units
This commit is contained in:
parent
31e1e8325b
commit
c812e45292
|
@ -181,7 +181,7 @@ while (my ($unit, $state) = each %{$activePrev}) {
|
||||||
} elsif ($unit =~ /\.mount$/) {
|
} elsif ($unit =~ /\.mount$/) {
|
||||||
# Reload the changed mount unit to force a remount.
|
# Reload the changed mount unit to force a remount.
|
||||||
write_file($reloadListFile, { append => 1 }, "$unit\n");
|
write_file($reloadListFile, { append => 1 }, "$unit\n");
|
||||||
} elsif ($unit =~ /\.socket$/ || $unit =~ /\.path$/) {
|
} elsif ($unit =~ /\.socket$/ || $unit =~ /\.path$/ || $unit =~ /\.slice$/) {
|
||||||
# FIXME: do something?
|
# FIXME: do something?
|
||||||
} else {
|
} else {
|
||||||
my $unitInfo = parseUnit($newUnitFile);
|
my $unitInfo = parseUnit($newUnitFile);
|
||||||
|
|
Loading…
Reference in New Issue