fix that stupid stdin is truncated bug again
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
This commit is contained in:
parent
68586a0c3d
commit
eed058426a
1 changed files with 2 additions and 1 deletions
|
@ -74,5 +74,6 @@ while read key; do
|
||||||
if [ -f "$__object/parameter/comment" ]; then
|
if [ -f "$__object/parameter/comment" ]; then
|
||||||
set -- "$@" --comment "$(cat "$__object/parameter/comment")"
|
set -- "$@" --comment "$(cat "$__object/parameter/comment")"
|
||||||
fi
|
fi
|
||||||
__ssh_authorized_key "$@"
|
# Ensure __ssh_authorized_key does not read stdin
|
||||||
|
__ssh_authorized_key "$@" < /dev/null
|
||||||
done < "$__object/parameter/key"
|
done < "$__object/parameter/key"
|
||||||
|
|
Loading…
Reference in a new issue