NetworkManager/clients/cli
Lubomir Rintel edf6f826b5 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.
2018-01-24 09:53:38 +01:00
..
agent.c nmcli/agent: fix handling of polkit agent failure 2018-01-24 09:53:38 +01:00
agent.h cli: add 'nmcli agent' command (bgo #739568) 2014-11-07 11:58:25 +01:00
common.c clients/cli: use a nicer password prompt 2017-12-18 14:47:37 +01:00
common.h build: move nm-client-utils.c to libnmc-base.a 2017-10-16 17:25:35 +02:00
connections.c all: get rid of a handful of unused-but-set variables 2017-12-18 13:29:32 +01:00
connections.h cli: move and rename TermColor and TermFormat 2017-04-05 16:53:06 +02:00
devices.c libnm-core: move detection of UTF-8 capable terminals to clients/ 2017-12-18 14:47:37 +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 10:52:23 +01:00
general.h cli: output a short summary of devices when called without arguments 2016-07-19 14:29:05 +02:00
meson.build build/meson: use variables for ldflags and linker-script 2018-01-11 12:46:01 +01: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:53:38 +01:00
nmcli.h clients: drop redundant #include "NetworkManager.h" 2018-01-08 12:38:54 +01: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: drop nmc_strsplit_set() 2017-12-12 15:19:43 +01:00
settings.h cli: move setting creation to meta data 2017-04-12 14:12:20 +02:00
utils.c cli: drop nmc_strsplit_set() 2017-12-12 15:19:43 +01:00
utils.h cli: drop nmc_strsplit_set() 2017-12-12 15:19:43 +01:00