aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2000-10-02 15:50:41 +0000
committerBill Nottingham <notting@redhat.com>2000-10-02 15:50:41 +0000
commitcc7f17656930e936447d886934e66e648a471834 (patch)
tree30abc81f9cb78184ecd57239801885ce23b87920
parentd79b4a2e3b12a7b518fe2da59b325c66826e2726 (diff)
downloadinitscripts-cc7f17656930e936447d886934e66e648a471834.tar
initscripts-cc7f17656930e936447d886934e66e648a471834.tar.gz
initscripts-cc7f17656930e936447d886934e66e648a471834.tar.bz2
initscripts-cc7f17656930e936447d886934e66e648a471834.tar.xz
initscripts-cc7f17656930e936447d886934e66e648a471834.zip
patch from tim: eat messages from display managers
-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