mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-27 09:23:01 +00:00
sshd: fix shellcheck warnings in prestart script
This commit is contained in:
parent
c8e710a315
commit
342b5a8b85
@ -585,7 +585,8 @@ in
|
||||
if ! [ -h "${k.path}" ]; then
|
||||
rm -f "${k.path}"
|
||||
fi
|
||||
mkdir -m 0755 -p "$(dirname '${k.path}')"
|
||||
mkdir -p "$(dirname '${k.path}')"
|
||||
chmod 0755 "$(dirname '${k.path}')"
|
||||
ssh-keygen \
|
||||
-t "${k.type}" \
|
||||
${lib.optionalString (k ? bits) "-b ${toString k.bits}"} \
|
||||
|
Loading…
Reference in New Issue
Block a user