diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2014-12-18 01:47:18 +0100 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2014-12-18 01:47:36 +0100 |
commit | c812e45292e90d5138659574ad9c403c02718332 (patch) | |
tree | 2d6246b69d11664272c7b2474d2f3ee7b5bcc26d /nixos | |
parent | 31e1e8325bc00fc6d3fd0c3eb9a087c8209a2ad9 (diff) | |
download | nixlib-c812e45292e90d5138659574ad9c403c02718332.tar nixlib-c812e45292e90d5138659574ad9c403c02718332.tar.gz nixlib-c812e45292e90d5138659574ad9c403c02718332.tar.bz2 nixlib-c812e45292e90d5138659574ad9c403c02718332.tar.lz nixlib-c812e45292e90d5138659574ad9c403c02718332.tar.xz nixlib-c812e45292e90d5138659574ad9c403c02718332.tar.zst nixlib-c812e45292e90d5138659574ad9c403c02718332.zip |
switch-to-configuration: Ignore slice units
Diffstat (limited to 'nixos')
-rw-r--r-- | nixos/modules/system/activation/switch-to-configuration.pl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/system/activation/switch-to-configuration.pl b/nixos/modules/system/activation/switch-to-configuration.pl index c0e0ae23d387..c814469ae41d 100644 --- a/nixos/modules/system/activation/switch-to-configuration.pl +++ b/nixos/modules/system/activation/switch-to-configuration.pl @@ -181,7 +181,7 @@ while (my ($unit, $state) = each %{$activePrev}) { } elsif ($unit =~ /\.mount$/) { # Reload the changed mount unit to force a remount. write_file($reloadListFile, { append => 1 }, "$unit\n"); - } elsif ($unit =~ /\.socket$/ || $unit =~ /\.path$/) { + } elsif ($unit =~ /\.socket$/ || $unit =~ /\.path$/ || $unit =~ /\.slice$/) { # FIXME: do something? } else { my $unitInfo = parseUnit($newUnitFile); |