]> ruderich.org/simon Gitweb - config/dotfiles.git/commitdiff
xinitrc: Fix incorrect use of "$@" in error().
authorSimon Ruderich <simon@ruderich.org>
Wed, 11 Sep 2013 11:42:42 +0000 (13:42 +0200)
committerSimon Ruderich <simon@ruderich.org>
Wed, 11 Sep 2013 11:42:42 +0000 (13:42 +0200)
xinitrc

diff --git a/xinitrc b/xinitrc
index 2294e31a7ca154c27ded521928856448c9641ab3..f262caeb25e969f30054ba64f5dab1457326b369 100755 (executable)
--- 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"
+        echo "$*" >> "$HOME/.xinitrc.errors"
     fi
 }
 # Save PID of the most recently started background process. Used to terminate