NetworkManager/clients
Thomas Haller 7f2b7ee4cd nm-online: print "[started|start-pending|failure]" for --wait-for-startup
`nm-online --wait-for-startup` isn't really intended to be called directly.
It is mainly for implementing "NetworkManager-wait-online.service".

Anyway, at the end, the result does not indicate the connectivty status
of the host. Hence, printing

  Connecting...............   30s [online]

is misleading. It merely means, that startup is complete. Likewise,
printing "[offline]" would not mean that there is no connectivity.
Instead, it means that startup is still in progress on timeout.

As it is now, the distinction between whether to print "start-pending"
and "failure" is not very clear. Not that it matters much. At least is
corresponds to the exit status of the program. If we sometimes confuse
EXIT_FAILURE_OFFLINE with other failure reasons, the exit status needs
to be corrected first.

https://github.com/NetworkManager/NetworkManager/pull/152
2018-06-30 10:59:08 +02:00
..
cli client: support 6lowpan setting 2018-06-26 16:21:55 +02:00
common clients/docs: fix generated documentation for Open vSwitch 2018-06-29 09:58:01 +02:00
tests clients/tests: add tests for coloring 2018-06-26 11:32:39 +02:00
tui build: unifiy specifying locale directory define 2018-05-31 15:59:38 +02:00
meson.build build/meson: use variables for ldflags and linker-script 2018-01-11 12:46:01 +01:00
nm-online.c nm-online: print "[started|start-pending|failure]" for --wait-for-startup 2018-06-30 10:59:08 +02:00