TigerVNC/tigervnc

Meaningful exit codes from vncviewer

オープン

#1,008 opened on 2020/05/01

 (9 件のコメント) (1 件のリアクション) (0 人の担当者)C++ (1,177 件のフォーク)github user discovery
enhancementhelp wanted

Repository metrics

Stars
 (7,404 個のスター)
PR merge metrics
 (平均マージ 95d 10h) (30d で 4 merged PRs)

説明

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.

コントリビューターガイド