don't fail kexec if no key can be found in an account
This commit is contained in:
parent
cf172a5922
commit
0a346c724c
1 changed files with 1 additions and 1 deletions
|
@ -37,7 +37,7 @@ in {
|
|||
key="$home/$file"
|
||||
if [[ -e "$key" ]]; then
|
||||
# workaround for debian shenanigans
|
||||
grep -o '\(ssh-[^ ]* .*\)' "$key" >> ssh/authorized_keys
|
||||
grep -o '\(ssh-[^ ]* .*\)' "$key" >> ssh/authorized_keys || true
|
||||
fi
|
||||
done
|
||||
done
|
||||
|
|
Loading…
Reference in a new issue