diff options
author | Domen Kožar <domen@dev.si> | 2016-09-04 17:56:00 +0200 |
---|---|---|
committer | Domen Kožar <domen@dev.si> | 2016-09-04 17:56:00 +0200 |
commit | 393e646e4fab06b58542ace3ca2a90eab22c809d (patch) | |
tree | 260a858cf7aa954f00ce873d8cad49484e5e2b01 | |
parent | c536a3fa2fd42f46c0cb15e17a74f060a4a8f63c (diff) |
setuid-wrappers: correctly umount the tmpfs
-rw-r--r-- | nixos/modules/security/setuid-wrappers.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/security/setuid-wrappers.nix b/nixos/modules/security/setuid-wrappers.nix index dcccd8342866e..fe220c94313f6 100644 --- a/nixos/modules/security/setuid-wrappers.nix +++ b/nixos/modules/security/setuid-wrappers.nix @@ -132,7 +132,7 @@ in # Compatibility with old state, just remove the folder and symlink rm -f ${wrapperDir}/* # if it happens to be a tmpfs - umount ${wrapperDir} || true + ${pkgs.utillinux}/bin/umount ${wrapperDir} || true rm -d ${wrapperDir} ln -d --symbolic $wrapperDir ${wrapperDir} else |