Supress unneeded debug information emitted from initscript (#633645).

Signed-off-by: Adam Tkac <atkac@redhat.com>
This commit is contained in:
Adam Tkac 2010-09-16 14:02:43 +02:00
parent 31632b328e
commit c58b42afc2
2 changed files with 3 additions and 1 deletions

View File

@ -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)

View File

@ -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