aboutsummaryrefslogtreecommitdiffstats
path: root/prefdm
diff options
context:
space:
mode:
Diffstat (limited to 'prefdm')
-rwxr-xr-xprefdm2
1 files changed, 2 insertions, 0 deletions
diff --git a/prefdm b/prefdm
index 490e8462..2b5584ed 100755
--- a/prefdm
+++ b/prefdm
@@ -20,6 +20,8 @@ if [ -f /etc/sysconfig/desktop ]; then
preferred=kdm
elif [ "$DISPLAYMANAGER" = XDM ]; then
preferred=xdm
+ elif [ -n "$DISPLAYMANAGER" ]; then
+ preferred=$DISPLAYMANAGER
fi
fi