forked from pool/tigervnc
x11vnc: reverted no-op code changes
OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/tigervnc?expand=0&rev=199
This commit is contained in:
parent
6d319422ba
commit
df71d7e848
4
x11vnc
4
x11vnc
@ -78,7 +78,7 @@ args = parser.parse_args()
|
|||||||
# Warnings
|
# Warnings
|
||||||
if args.ignored_argument:
|
if args.ignored_argument:
|
||||||
print('Warning: x11vnc wrapper accepts but ignores following arguments:')
|
print('Warning: x11vnc wrapper accepts but ignores following arguments:')
|
||||||
print((', '.join(ignored_arguments)))
|
print(', '.join(ignored_arguments))
|
||||||
|
|
||||||
|
|
||||||
# vncpasswd
|
# vncpasswd
|
||||||
@ -114,7 +114,7 @@ if args.N:
|
|||||||
new_args.append('-rfbport')
|
new_args.append('-rfbport')
|
||||||
new_args.append(str(port))
|
new_args.append(str(port))
|
||||||
else:
|
else:
|
||||||
print(('Port %d is already used'%port))
|
print('Port %d is already used'%port)
|
||||||
sys.exit(1)
|
sys.exit(1)
|
||||||
|
|
||||||
if args.rfbport:
|
if args.rfbport:
|
||||||
|
Loading…
Reference in New Issue
Block a user