aboutsummaryrefslogtreecommitdiffstats
path: root/prefdm
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2004-10-27 18:47:17 +0000
committerBill Nottingham <notting@redhat.com>2004-10-27 18:47:17 +0000
commite7b617ea21e03c608b70bd5c8ed2b49ce3414872 (patch)
treed04d3120e6d416819120a62624f956005c4edb70 /prefdm
parentdc2ec7b9cc426aeba2ea28b0e3dd447bd40fed44 (diff)
downloadinitscripts-e7b617ea21e03c608b70bd5c8ed2b49ce3414872.tar
initscripts-e7b617ea21e03c608b70bd5c8ed2b49ce3414872.tar.gz
initscripts-e7b617ea21e03c608b70bd5c8ed2b49ce3414872.tar.bz2
initscripts-e7b617ea21e03c608b70bd5c8ed2b49ce3414872.tar.xz
initscripts-e7b617ea21e03c608b70bd5c8ed2b49ce3414872.zip
fix prefdm fallback to installed display managers (#137274)
Diffstat (limited to 'prefdm')
-rwxr-xr-xprefdm2
1 files changed, 2 insertions, 0 deletions
diff --git a/prefdm b/prefdm
index ad8254e9..63d6a0db 100755
--- a/prefdm
+++ b/prefdm
@@ -24,6 +24,8 @@ if [ -f /etc/sysconfig/desktop ]; then
fi
fi
+shopt -s execfail
+
[ -n "$preferred" ] && exec $preferred $* >/dev/null 2>&1
# Fallbacks, in order