Trap Ctrl+C in ecl - reed-alert - Lightweight agentless alerting system for server HTML git clone git://bitreich.org/reed-alert/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/reed-alert/ DIR Log DIR Files DIR Refs DIR Tags DIR README DIR LICENSE --- DIR commit 957c015c36bacb3b4e29fd55505dda4309dcbc4c DIR parent ae4e9ea4a34d33687343c3dd5d468abda57d6951 HTML Author: Solene Rapenne <solene@perso.pw> Date: Wed, 24 Oct 2018 07:33:31 +0200 Trap Ctrl+C in ecl Diffstat: M functions.lisp | 3 +++ 1 file changed, 3 insertions(+), 0 deletions(-) --- DIR diff --git a/functions.lisp b/functions.lisp @@ -138,3 +138,6 @@ :if-exists :supersede) (format stream-out "~a~%~a~%" (+ 1 tries) params)) nil))))) + +#+ecl +(ext:set-signal-handler ext:+sigint+ nil)