From 472e40aeca23a58e20bcc0fc787c9d98e1f4224a Mon Sep 17 00:00:00 2001 From: Simon Ruderich Date: Thu, 24 Oct 2013 22:11:52 +0200 Subject: [PATCH] xinitrc: Don't use echo for data from the user. --- xinitrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xinitrc b/xinitrc index 56834a9..b286dbc 100755 --- a/xinitrc +++ b/xinitrc @@ -42,7 +42,7 @@ error() { xmessage "$@" & else # Log message to a file which is displayed by my Zsh setup on startup. - echo "$*" >> "$HOME/.xinitrc.errors" + printf '%s\n' "$*" >>"$HOME/.xinitrc.errors" fi } # Save PID of the most recently started background process. Used to terminate -- 2.45.2