Graceful exit on breaks for Help Desk Server.
svn: r7249
This commit is contained in:
parent
bc90208be1
commit
588be4e4cf
|
@ -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)
|
||||||
|
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user