ALT Linux Bugzilla
– Attachment 4067 Details for
Bug 22336
Can't pass command-line arguments
New bug
|
Search
|
[?]
|
Help
Register
|
Log In
[x]
|
Forgot Password
Login:
[x]
|
EN
|
RU
[patch]
Patch
vncserver.patch (text/plain), 1.01 KB, created by
Denis Yagofarov
on 2009-11-19 14:30:25 MSK
(
hide
)
Description:
Patch
Filename:
MIME Type:
Creator:
Denis Yagofarov
Created:
2009-11-19 14:30:25 MSK
Size:
1.01 KB
patch
obsolete
>*** /etc/init.d/vncserver Thu Nov 19 11:16:13 2009 >--- /root/vncserver.orig Thu Nov 19 11:23:59 2009 >*************** >*** 34,48 **** > RETVAL=0 > for display in ${VNCSERVERS} > do >! echo -n "${display} with ${VNCSERVERARGS[${display%%:*}]}" > unset BASH_ENV ENV >- # if [ ${VNCSERVERARGS[${display%%:*}]} ]; then >- # echo ${VNCSERVERARGS[${display%%:*}]} >- # else >- # echo "!!!" >- # fi > initlog $INITLOG_ARGS -c \ >! "su - ${display##*:} -c \"cd ~${display##*:} && [ -f .vnc/passwd ] && vncserver :${display%%:*} ${VNCSERVERARGS[${display%%:*}]}\"" > RETVAL=$? > [ "$RETVAL" -ne 0 ] && break > done >--- 34,43 ---- > RETVAL=0 > for display in ${VNCSERVERS} > do >! echo -n "${display} " > unset BASH_ENV ENV > initlog $INITLOG_ARGS -c \ >! "su - ${display##*:} -c \"cd ~${display##*:} && [ -f .vnc/passwd ] && vncserver :${display%%:*}\"" > RETVAL=$? > [ "$RETVAL" -ne 0 ] && break > done
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 22336
: 4067