[tigervnc/f13/master] Supress unneeded debug information emitted from initscript (#633645).

Adam Tkac atkac at fedoraproject.org
Thu Sep 16 13:44:23 UTC 2010


commit 394be5bf2535734e1dfa98179121828860148d61
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 d4d94f1..cedd1f5 100644
--- a/tigervnc.spec
+++ b/tigervnc.spec
@@ -257,6 +257,7 @@ fi
 %changelog
 * Thu Sep 16 2010 Adam Tkac <atkac redhat com> 1.0.90-0.14.20100420svn4030
 - 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.13.20100420svn4030
 - Xvnc: handle situations when no modifiers exist well (#611677)
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