summary refs log tree commit diff
diff options
context:
space:
mode:
authorJosselin Poiret <dev@jpoiret.xyz>2022-09-22 15:12:47 +0200
committerMathieu Othacehe <othacehe@gnu.org>2022-09-22 16:28:12 +0200
commit2e8b4f9bfa00489fd3acff305837a79af236e183 (patch)
treeaf95806a63617cac84a0cb51b2170ab1f83034d0
parentfd942712d8036519d1bcb85b37b127a8f2fff474 (diff)
downloadguix-2e8b4f9bfa00489fd3acff305837a79af236e183.tar.gz
installer: Exit console-services page with abort-to-prompt.
* gnu/installer/newt/services.scm (run-console-services-cbt-page): Do it.

Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
-rw-r--r--gnu/installer/newt/services.scm6
1 files changed, 2 insertions, 4 deletions
diff --git a/gnu/installer/newt/services.scm b/gnu/installer/newt/services.scm
index 9951ad2212..b22024602c 100644
--- a/gnu/installer/newt/services.scm
+++ b/gnu/installer/newt/services.scm
@@ -99,10 +99,8 @@ non-graphical system.")
       #:item->text (compose G_ system-service-name)
       #:checkbox-tree-height 5
       #:exit-button-callback-procedure
-      (lambda ()
-        (raise
-          (condition
-            (&installer-step-abort)))))))
+      (lambda _
+        (abort-to-prompt 'installer-step 'abort)))))
 
 (define (run-network-management-page)
   "Run a page to select among several network management methods."