TigerVNC/tigervnc

Meaningful exit codes from vncviewer

Aperta

#1008 aperta il 1 mag 2020

 (9 commenti) (1 reazione) (0 assegnatari)C++ (1176 fork)github user discovery
enhancementhelp wanted

Metriche repository

Star
 (7399 stelle)
Metriche merge PR
 (Merge medio 95g 10h) (4 PR mergiate in 30 g)

Descrizione

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.

Guida contributor