summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Cameron <brian.cameron@sun.com>2006-03-29 04:41:49 +0000
committerBrian Cameron <bcameron@src.gnome.org>2006-03-29 04:41:49 +0000
commit83e743afc390728e912d2ccde76b261d25f06df2 (patch)
tree1c3f4afea0d2283687863ba8e3515d3eb1bdfd50
parent7ad2d48fdf532905a9312d793ec521aa3e0e4212 (diff)
downloadgdm-83e743afc390728e912d2ccde76b261d25f06df2.tar.gz
Modify command to be "$@" instead of "$1" so it is possible to pass
2006-03-28 Brian Cameron <brian.cameron@sun.com> * config/Xsession.in: Modify command to be "$@" instead of "$1" so it is possible to pass arguments with the command.
-rw-r--r--ChangeLog5
-rwxr-xr-xconfig/Xsession.in2
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index da3f7554..de74964f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2006-03-28 Brian Cameron <brian.cameron@sun.com>
+
+ * config/Xsession.in: Modify command to be "$@" instead of "$1"
+ so it is possible to pass arguments with the command.
+
2006-03-28 Julio M. Merino Vidal <jmmv@NetBSD.org>
* daemon/xdmcp.c: Removed a C99 local variable definition that
diff --git a/config/Xsession.in b/config/Xsession.in
index 6f4ccf1d..604b86d2 100755
--- a/config/Xsession.in
+++ b/config/Xsession.in
@@ -24,7 +24,7 @@
# based on:
# $XConsortium: Xsession /main/10 1995/12/18 18:21:28 gildea $
-command="$1"
+command="$@"
if [ -z "$command" ] ; then
command=failsafe