TigerVNC/tigervnc

Meaningful exit codes from vncviewer

Ouverte

#1 008 ouverte le 1 mai 2020

 (9 commentaires) (1 réaction) (0 personne assignée)C++ (1 179 forks)github user discovery
enhancementhelp wanted

Métriques du dépôt

Stars
 (7 410 étoiles)
Métriques de merge PR
 (Merge moyen 95j 10h) (4 PRs mergées en 30 j)

Description

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.

Guide contributeur