summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
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