diff options
author | Parnell Springmeyer <parnell@digitalmentat.com> | 2017-01-26 00:05:40 -0800 |
---|---|---|
committer | Parnell Springmeyer <parnell@digitalmentat.com> | 2017-01-26 00:05:40 -0800 |
commit | 025555d7f1a0fc39ea152b03e942002e1bff1721 (patch) | |
tree | 82f3d014c8848ecc9f6f26958c9f99f83da0bc65 /nixos/modules/installer/tools | |
parent | bae00e8aa8f3faff90e28e19cd5074b8c26d0d0e (diff) | |
download | nixlib-025555d7f1a0fc39ea152b03e942002e1bff1721.tar nixlib-025555d7f1a0fc39ea152b03e942002e1bff1721.tar.gz nixlib-025555d7f1a0fc39ea152b03e942002e1bff1721.tar.bz2 nixlib-025555d7f1a0fc39ea152b03e942002e1bff1721.tar.lz nixlib-025555d7f1a0fc39ea152b03e942002e1bff1721.tar.xz nixlib-025555d7f1a0fc39ea152b03e942002e1bff1721.tar.zst nixlib-025555d7f1a0fc39ea152b03e942002e1bff1721.zip |
More fixes and improvements
Diffstat (limited to 'nixos/modules/installer/tools')
-rw-r--r-- | nixos/modules/installer/tools/nixos-install.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/installer/tools/nixos-install.sh b/nixos/modules/installer/tools/nixos-install.sh index 5250edd1500a..4e9f8ab60f2c 100644 --- a/nixos/modules/installer/tools/nixos-install.sh +++ b/nixos/modules/installer/tools/nixos-install.sh @@ -260,7 +260,7 @@ chroot $mountPoint /nix/var/nix/profiles/system/activate # Ask the user to set a root password. -if [ -z "$noRootPasswd" ] && chroot $mountPoint [ -x /var/setuid-wrappers/passwd ] && [ -t 0 ]; then +if [ -z "$noRootPasswd" ] && chroot $mountPoint [ -x /var/permissions-wrappers/passwd ] && [ -t 0 ]; then echo "setting root password..." chroot $mountPoint /var/permissions-wrappers/passwd fi |