about summary refs log tree commit diff
path: root/nixos/modules/security/wrappers
diff options
context:
space:
mode:
authorParnell Springmeyer <parnell@digitalmentat.com>2017-02-14 08:33:07 -0600
committerParnell Springmeyer <parnell@digitalmentat.com>2017-02-14 08:33:07 -0600
commitc01689f8dab3387eb004192ce078659e9a4f334c (patch)
treecb499104cbbd17562f00bb4eba655b9c3cc1e37c /nixos/modules/security/wrappers
parentf8b8c353ffcfb2a29178c1f7b145baebfab55f81 (diff)
downloadnixlib-c01689f8dab3387eb004192ce078659e9a4f334c.tar
nixlib-c01689f8dab3387eb004192ce078659e9a4f334c.tar.gz
nixlib-c01689f8dab3387eb004192ce078659e9a4f334c.tar.bz2
nixlib-c01689f8dab3387eb004192ce078659e9a4f334c.tar.lz
nixlib-c01689f8dab3387eb004192ce078659e9a4f334c.tar.xz
nixlib-c01689f8dab3387eb004192ce078659e9a4f334c.tar.zst
nixlib-c01689f8dab3387eb004192ce078659e9a4f334c.zip
Fixing ref to old-wrappersDir
Diffstat (limited to 'nixos/modules/security/wrappers')
-rw-r--r--nixos/modules/security/wrappers/default.nix6
1 files changed, 3 insertions, 3 deletions
diff --git a/nixos/modules/security/wrappers/default.nix b/nixos/modules/security/wrappers/default.nix
index 96f4544c2fa4..144053a4ea3b 100644
--- a/nixos/modules/security/wrappers/default.nix
+++ b/nixos/modules/security/wrappers/default.nix
@@ -162,11 +162,11 @@ in
 
           # Remove the old /var/setuid-wrappers path from the system...
           #
-          # TDOO: this is only necessary for ugprades 16.09 => 17.x;
+          # TODO: this is only necessary for ugprades 16.09 => 17.x;
           # this conditional removal block needs to be removed after
           # the release.
-          if [ -d ${config.security.old-wrapperDir} ]; then
-            rm -rf ${config.security.old-wrapperDir}
+          if [ -d /var/setuid-wrappers ]; then
+            rm -rf /var/setuid-wrappers
           fi
 
           # Remove the old /run/setuid-wrappers-dir path from the