NetworkManager/clients/cli
Lubomir Rintel 2f991e379b nmcli: fix signal handling
Hook the signal handlers right before the main loop. Prior to that
the default handlers are good enough and our one crashes (due to
loop being instantialized).

Also, set the return value properly to indicate a termination by a
signal.

(cherry picked from commit edf6f826b5)
2018-01-24 09:55:18 +01:00
..
agent.c nmcli/agent: fix handling of polkit agent failure 2018-01-24 09:55:18 +01:00
agent.h cli: add 'nmcli agent' command (bgo #739568) 2014-11-07 11:58:25 +01:00
common.c libnm: avoid unnecessary copies accessing NMIPRoute's attributes 2017-10-30 14:12:41 +01:00
common.h build: move nm-client-utils.c to libnmc-base.a 2017-10-16 17:25:35 +02:00
connections.c clients: add tc qdisc support 2017-12-11 19:06:31 +01:00
connections.h cli: move and rename TermColor and TermFormat 2017-04-05 16:53:06 +02:00
devices.c cli: avoid out-of-bounds-read for show_device_info() 2017-12-12 11:21:05 +01:00
devices.h cli: move and rename TermColor and TermFormat 2017-04-05 16:53:06 +02:00
general.c clients: add tc qdisc support 2017-12-11 19:06:31 +01:00
general.h cli: output a short summary of devices when called without arguments 2016-07-19 14:29:05 +02:00
nmcli-completion cli: make nmcli do its own command completion 2017-02-13 16:32:15 +01:00
nmcli.c nmcli: fix signal handling 2018-01-24 09:55:18 +01:00
nmcli.h cli: spawn a pager when running on a terminal 2017-05-15 17:23:51 +02:00
polkit-agent.c cli: move NmcMetaGenericInfo to "utils.h" 2017-04-05 16:53:06 +02:00
polkit-agent.h cli: add 'nmcli agent' command (bgo #739568) 2014-11-07 11:58:25 +01:00
settings.c cli: don't print warnings when completing arguments 2017-12-01 14:29:45 +01:00
settings.h cli: move setting creation to meta data 2017-04-12 14:12:20 +02:00
utils.c all: use nm_close() instead of close() 2017-11-14 15:17:02 +01:00
utils.h cli: refactor printing IP6 device info 2017-09-26 19:36:51 +02:00