TigerVNC/tigervnc

Meaningful exit codes from vncviewer

开放

#1,008 创建于 2020年5月1日

 (9 条评论) (1 个反应) (0 位负责人)C++ (1,178 个派生)github user discovery
enhancementhelp wanted

仓库指标

星标
 (7,407 个星标)
PR 合并指标
 (平均合并 95天 10小时) (30 天内合并 4 个 PR)

描述

If there is no VNC server running on localhost and I still try to connect, I get the following output:

$ xtigervncviewer -AlertOnFatalError=0 localhost

TigerVNC Viewer 64-bit v1.9.0
Built on: 2020-01-23 18:03
Copyright (C) 1999-2018 TigerVNC Team and many others (see README.rst)
See http://www.tigervnc.org for information on TigerVNC.

Fri May  1 15:55:44 2020
 DecodeManager: Detected 4 CPU core(s)
 DecodeManager: Creating 4 decoder thread(s)
 CConn:       unable to create socket: Address family not supported by protocol
              (97)
$ echo $?
0

I would have expected a non-zero exit code.


Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

贡献者指南