]> www.infradead.org Git - users/dwmw2/openconnect.git/commit
Check return value of sigaction()
authorDimitri Papadopoulos <3350651-DimitriPapadopoulos@users.noreply.gitlab.com>
Thu, 30 Dec 2021 21:35:37 +0000 (22:35 +0100)
committerDimitri Papadopoulos <3350651-DimitriPapadopoulos@users.noreply.gitlab.com>
Sat, 26 Feb 2022 15:50:32 +0000 (16:50 +0100)
commita74a01c4dd6f0347e33a0a4d963a8fa8159135c0
tree9eddafa04a9e163476113388a8043e8ef2309ed1
parent4d22f1dedd45d075f42335fe12af195e24cf3b41
Check return value of sigaction()

It shouldn't fail, but you never know. Check the return value and print
an error message. Yet do not bale out, as OpenConnect might still be
able to create the VPN connection.

Signed-off-by: Dimitri Papadopoulos <3350651-DimitriPapadopoulos@users.noreply.gitlab.com>
main.c