mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-11 21:59:08 -05:00
repl: Do not exit repl on SIGINT.
* guix/scripts/repl.scm (guix-repl): Do not exit repl on SIGINT.
This commit is contained in:
parent
3b160bdccf
commit
3133d678a8
1 changed files with 4 additions and 1 deletions
|
@ -188,7 +188,10 @@ (define opts
|
||||||
(save-module-excursion
|
(save-module-excursion
|
||||||
(lambda ()
|
(lambda ()
|
||||||
(set-current-module user-module)
|
(set-current-module user-module)
|
||||||
(start-repl))))
|
;; Do not exit repl on SIGINT.
|
||||||
|
((@@ (ice-9 top-repl) call-with-sigint)
|
||||||
|
(lambda ()
|
||||||
|
(start-repl))))))
|
||||||
((machine)
|
((machine)
|
||||||
(machine-repl))
|
(machine-repl))
|
||||||
(else
|
(else
|
||||||
|
|
Loading…
Reference in a new issue