Graceful exit on breaks for Help Desk Server.

svn: r7249
This commit is contained in:
Jens Axel Soegaard 2007-09-01 16:02:05 +00:00
parent bc90208be1
commit 588be4e4cf

View File

@ -39,7 +39,8 @@
internal-host (internal-port)) internal-host (internal-port))
(printf "Press enter to shutdown.\n") (printf "Press enter to shutdown.\n")
(read-line) (with-handlers ([exn:break? (lambda (exn) (shutdown) (exit))])
(read-line))
(shutdown) (shutdown)
) )