Skip to content

Commit 28fcafb

Browse files
committed
echo doesn't handle newlines
1 parent 8fefd3a commit 28fcafb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

elements/etc-hosts/pre-install.d/01-etc-hosts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@ fi
66
set -eu
77
set -o pipefail
88

9-
echo "$ETC_HOSTS_EXTRA" >> /etc/hosts
9+
printf "$ETC_HOSTS_EXTRA" >> /etc/hosts

0 commit comments

Comments
 (0)