mirror of
https://github.com/Burnett01/rsync-deployments.git
synced 2026-09-22 23:05:23 +08:00
fix: replace echo with printf for consistent output formatting in hosts-add script
This commit is contained in:
@@ -2,4 +2,4 @@
|
||||
|
||||
set -euo pipefail
|
||||
|
||||
echo "$@" >> ~/.ssh/known_hosts
|
||||
printf '%s\n' "$@" >> ~/.ssh/known_hosts
|
||||
|
||||
Reference in New Issue
Block a user