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 @@ call THUNK." | ||||||
|              (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 | ||||||
|  |  | ||||||
		Reference in a new issue