aboutsummaryrefslogtreecommitdiffstats
path: root/prefdm
diff options
context:
space:
mode:
Diffstat (limited to 'prefdm')
-rwxr-xr-xprefdm8
1 files changed, 4 insertions, 4 deletions
diff --git a/prefdm b/prefdm
index 63d6a0db..303bfd2d 100755
--- a/prefdm
+++ b/prefdm
@@ -26,12 +26,12 @@ fi
shopt -s execfail
-[ -n "$preferred" ] && exec $preferred $* >/dev/null 2>&1
+[ -n "$preferred" ] && exec $preferred "$@" >/dev/null 2>&1
# Fallbacks, in order
-exec gdm $* >/dev/null 2>&1
-exec kdm $* >/dev/null 2>&1
-exec xdm $* >/dev/null 2>&1
+exec gdm "$@" >/dev/null 2>&1
+exec kdm "$@" >/dev/null 2>&1
+exec xdm "$@" >/dev/null 2>&1
# catch all exit error
exit 1