aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTeddy Wing2022-05-21 18:57:44 +0200
committerTeddy Wing2022-05-21 18:57:44 +0200
commita09331daa1abf52f7c67d7311c330f65da50707a (patch)
tree2963aa6607abbe94447ac9672f8a9f179483da06
parent165af78b4f7955870d0b3f6dd029768380661be4 (diff)
downloadwajir-a09331daa1abf52f7c67d7311c330f65da50707a.tar.bz2
main: Clean up Control-c test code
Re-enable the main run code.
-rw-r--r--src/main.lisp12
1 files changed, 2 insertions, 10 deletions
diff --git a/src/main.lisp b/src/main.lisp
index 6076da7..a611532 100644
--- a/src/main.lisp
+++ b/src/main.lisp
@@ -6,10 +6,7 @@
;; Send email to program containing message with issue metadata
;; Continue to next page
- ;; TODO: Add SIGINT and error handling
-
;; Disable interactive debugger.
- ; (defparameter uiop:*lisp-interaction* nil)
(setf *debugger-hook* #'debug-ignore)
(handler-case
@@ -17,16 +14,11 @@
(handler-bind ((error #'(lambda (e)
(exit-with-error e sysexits:+unavailable+))))
- ; (let ((config (parse-options)))
- ; (run config))
-
- (format t "l-i: ~S~%" uiop:*lisp-interaction*)
- (format t "main ran~%")
- (sleep 5)))
+ (let ((config (parse-options)))
+ (run config))))
;; Control-c
(interrupt:user-abort ()
- (format t "siginted~%")
(opts:exit 130))))
(defun debug-ignore (condition hook)