aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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