summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorRobert Ancell <robert.ancell@canonical.com>2012-03-07 13:12:13 +1100
committerRobert Ancell <robert.ancell@canonical.com>2012-03-07 13:12:13 +1100
commitd2441cda122a6194f09ac7e295da2e9491740830 (patch)
tree706621f38728b415f1c2db799cebf1fc9f7f3cb1 /tests
parent69729d7d76c2887e0a188b8752845aeed52391f5 (diff)
downloadlightdm-d2441cda122a6194f09ac7e295da2e9491740830.tar.gz
Only use the first argument in the session wrapper to run the session
Diffstat (limited to 'tests')
-rwxr-xr-xtests/src/lightdm-session5
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/src/lightdm-session b/tests/src/lightdm-session
index d5726cfc..564da93c 100755
--- a/tests/src/lightdm-session
+++ b/tests/src/lightdm-session
@@ -1,2 +1,5 @@
#!/bin/sh
-exec $@
+
+# Run the session expecting the full command to be the first argument. It has
+# to be like this for backwards compatibility instead of having a normal argument list
+exec $1