From c01689f8dab3387eb004192ce078659e9a4f334c Mon Sep 17 00:00:00 2001 From: Parnell Springmeyer Date: Tue, 14 Feb 2017 08:33:07 -0600 Subject: Fixing ref to old-wrappersDir --- nixos/modules/security/wrappers/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'nixos/modules/security') 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 -- cgit 1.4.1