Skip to content

Commit

Permalink
overlay/15fcos: coreos-check-ssh-keys: add missing newline to output
Browse files Browse the repository at this point in the history
Currently we're missing a newline when printing information
about the SSH keys on the console:

```
Ignition: user provided config was applied
Ignition: wrote ssh authorized keys file for user: coreAfterburn: wrote ssh authorized keys file for user: core
```

Let's add a newline if needed.
  • Loading branch information
dustymabe committed Jun 10, 2020
1 parent 6858395 commit 221fece
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions overlay.d/15fcos/usr/libexec/coreos-check-ssh-keys.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@ main() {
output+="$ignitionusers"
fi
if [ -n "$afterburnusers" ]; then
# add newline if needed
if [ -n "$output" ]; then
output+=$'\n'
fi
output+="$afterburnusers"
fi

Expand Down

0 comments on commit 221fece

Please sign in to comment.