[tigervnc] Supress unneeded debug information emitted from initscript (#633645).
Adam Tkac
atkac at fedoraproject.org
Thu Sep 16 12:03:43 UTC 2010
commit c58b42afc2022d917b1209d331b4d35339945142
Author: Adam Tkac <atkac at redhat.com>
Date: Thu Sep 16 14:02:43 2010 +0200
Supress unneeded debug information emitted from initscript (#633645).
Signed-off-by: Adam Tkac <atkac at redhat.com>
tigervnc.spec | 1 +
vncserver.init | 3 ++-
2 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/tigervnc.spec b/tigervnc.spec
index 8684955..1ff6733 100644
--- a/tigervnc.spec
+++ b/tigervnc.spec
@@ -307,6 +307,7 @@ fi
%changelog
* Thu Sep 16 2010 Adam Tkac <atkac redhat com> 1.0.90-0.20.20100813svn4123
- press fake modifiers correctly (#633931)
+- supress unneeded debug information emitted from initscript (#633645)
* Wed Aug 25 2010 Adam Tkac <atkac redhat com> 1.0.90-0.19.20100813svn4123
- separate Xvnc, vncpasswd and vncconfig to -server-minimal subpkg (#626946)
diff --git a/vncserver.init b/vncserver.init
index 5911857..5ca760b 100644
--- a/vncserver.init
+++ b/vncserver.init
@@ -50,7 +50,8 @@ start() {
DISP="${display%%:*}"
USER="${display##*:}"
VNCUSERARGS="${VNCSERVERARGS[${DISP}]}"
- runuser -l ${USER} -c "cd ~${USER} && [ -r .vnc/passwd ] && vncserver :${DISP} ${VNCUSERARGS}"
+ runuser -l ${USER} -c "cd ~${USER} && [ -r .vnc/passwd ] && \
+ vncserver :${DISP} ${VNCUSERARGS} > /dev/null 2>&1 "
RETVAL=$?
[ "$RETVAL" -eq 0 ] || break
done
More information about the scm-commits
mailing list