Unverified Commit 076f2f69 authored by Jörg Thalheim's avatar Jörg Thalheim Committed by GitHub
Browse files

sshd: fix shellcheck warnings in prestart script (#340484)

parents 4f06ecd5 342b5a8b
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -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}"} \