mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-24 21:38:07 -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
|
||||
(lambda ()
|
||||
(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-repl))
|
||||
(else
|
||||
|
|
Loading…
Reference in a new issue