NetworkManager/clients/cli
Lubomir Rintel 13064745b5 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:56:18 +01:00
..
agent.c nmcli/agent: fix handling of polkit agent failure 2018-01-24 09:56:18 +01:00
agent.h cli: add 'nmcli agent' command (bgo #739568) 2014-11-07 11:58:25 +01:00
common.c cli: fix failed assertion in readline helper 2017-06-15 10:05:57 +02:00
common.h cli: support route options 2017-03-06 15:20:25 +01:00
connections.c cli: exit from main loop after 'quit' editor command 2017-11-29 11:12:52 +01:00
connections.h cli: add -f argument completion 2016-08-01 15:51:29 +02:00
devices.c cli: wifi: connect with PSK when the AP supports WPA-PSK and WPA-EAP 2017-09-20 09:41:50 +02:00
devices.h cli: add -f argument completion 2016-08-01 15:51:29 +02:00
general.c cli: minor refactoring of if-condition in device_overview 2017-06-09 15:37:29 +02: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:56:18 +01:00
nmcli.h include: use double-quotes to include our own headers 2017-03-09 14:12:35 +01:00
polkit-agent.c all: cleanup includes in header files 2016-08-17 19:51:17 +02:00
polkit-agent.h cli: add 'nmcli agent' command (bgo #739568) 2014-11-07 11:58:25 +01:00
settings-docs.xsl clients: reorganize source tree, put all the installed clients together 2014-07-30 15:56:19 -04:00
settings.c clients: fix appending integer to result in nmc_property_set_bytes() 2017-05-23 16:10:46 +02:00
settings.h cli: support dummy connections 2017-02-22 21:05:04 +01:00
utils.c nmcli: allow cmd specific option parsing in next_arg() func 2017-04-05 16:38:34 +02:00
utils.h nmcli: allow cmd specific option parsing in next_arg() func 2017-04-05 16:38:34 +02:00