aboutsummaryrefslogtreecommitdiffstats
path: root/prefdm
diff options
context:
space:
mode:
Diffstat (limited to 'prefdm')
-rwxr-xr-xprefdm2
1 files changed, 1 insertions, 1 deletions
diff --git a/prefdm b/prefdm
index ff5219b7..b014f56a 100755
--- a/prefdm
+++ b/prefdm
@@ -20,7 +20,7 @@ if [ -z "$preferred" ]; then
preferred=xdm
fi
fi
-if [ -n "$preferred" ] && which $preferred
+if [ -n "$preferred" ] && which $preferred ; then
exec `which $preferred` $*
fi
exit 1