aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2009-03-20 15:55:45 -0400
committerBill Nottingham <notting@redhat.com>2009-03-20 15:55:45 -0400
commit747f8b92dd141b4ebe894d211e0500d3330cb84e (patch)
treea02ba7877fda5ec894bc3977baa3c265a26fffae
parent0199e4c50803bcbf7705a630df24b3291acea838 (diff)
downloadinitscripts-747f8b92dd141b4ebe894d211e0500d3330cb84e.tar
initscripts-747f8b92dd141b4ebe894d211e0500d3330cb84e.tar.gz
initscripts-747f8b92dd141b4ebe894d211e0500d3330cb84e.tar.bz2
initscripts-747f8b92dd141b4ebe894d211e0500d3330cb84e.tar.xz
initscripts-747f8b92dd141b4ebe894d211e0500d3330cb84e.zip
Add another setting of quit_arg to catch empty /etc/sysconfig/desktop. (#480113)
-rwxr-xr-xprefdm2
1 files changed, 2 insertions, 0 deletions
diff --git a/prefdm b/prefdm
index 675506ee..57cfafc9 100755
--- a/prefdm
+++ b/prefdm
@@ -21,6 +21,8 @@ if [ -f /etc/sysconfig/desktop ]; then
preferred=/usr/bin/xdm
elif [ -n "$DISPLAYMANAGER" ]; then
preferred=$DISPLAYMANAGER
+ else
+ quit_arg="--retain-splash"
fi
else
quit_arg="--retain-splash"