aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rwxr-xr-xprefdm8
2 files changed, 8 insertions, 4 deletions
diff --git a/ChangeLog b/ChangeLog
index 9aed3227..4d568a49 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2000-09-27 Tim Waugh <twaugh@redhat.com>
+
+ * prefdm: eat messages from display managers
+
2000-08-22 Bill Nottingham <notting@redhat.com>
* sysvinitfiles: update documentation
diff --git a/prefdm b/prefdm
index b4facb23..d6f2681f 100755
--- a/prefdm
+++ b/prefdm
@@ -39,13 +39,13 @@ if [ -z "$preferred" ]; then
fi
fi
if [ -n "$preferred" ] && which $preferred >/dev/null 2>&1; then
- exec `which $preferred` $*
+ exec `which $preferred` $* >/dev/null 2>&1
fi
if which gdm >/dev/null 2>&1; then
- exec `which gdm` $*
+ exec `which gdm` $* >/dev/null 2>&1
elif which kdm >/dev/null 2>&1; then
- exec `which kdm` $*
+ exec `which kdm` $* >/dev/null 2>&1
elif which xdm >/dev/null 2>&1; then
- exec `which xdm` $*
+ exec `which xdm` $* >/dev/null 2>&1
fi
exit 1