aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2004-10-27 19:11:43 +0000
committerBill Nottingham <notting@redhat.com>2004-10-27 19:11:43 +0000
commit00c3473d8eeaffeba556390db32d532966453199 (patch)
treeb797adb6e8f47df43194b8f5735854969523f7cd
parentea7d761ec780d0930ccf8fc1e05f76b90af1fc4c (diff)
downloadinitscripts-00c3473d8eeaffeba556390db32d532966453199.tar
initscripts-00c3473d8eeaffeba556390db32d532966453199.tar.gz
initscripts-00c3473d8eeaffeba556390db32d532966453199.tar.bz2
initscripts-00c3473d8eeaffeba556390db32d532966453199.tar.xz
initscripts-00c3473d8eeaffeba556390db32d532966453199.zip
fix prefdm fallback to installed display managers (#137274)
-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