From d1021bc463bd19c1e0bd87c8652781b0b29f48cd Mon Sep 17 00:00:00 2001 From: ben Date: Thu, 25 Feb 2010 20:34:46 +0100 Subject: xinitrc: change parameter $1 to $2 this is due to changes in the xinit script thats passes xterm as first argument and the $1 of startx as $2 --- .xinitrc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to '.xinitrc') diff --git a/.xinitrc b/.xinitrc index bcf96a9..70bbb01 100644 --- a/.xinitrc +++ b/.xinitrc @@ -1,4 +1,5 @@ #chooser="/etc/X11/chooser.sh" #session=$(XSESSION="${1}" ${chooser}) #exec ${session:-$(${chooser})} -exec $(XSESSION="${1:-${XSESSION}}" /etc/X11/chooser.sh) + +exec $(XSESSION="${2:-${XSESSION}}" /etc/X11/chooser.sh) -- cgit