aboutsummaryrefslogtreecommitdiffstats
path: root/prefdm
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 /prefdm
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
Diffstat (limited to 'prefdm')
-rwxr-xr-xprefdm8
1 files changed, 4 insertions, 4 deletions
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