From 1ef4974be94d75d935d98399dcda44199a1fca47 Mon Sep 17 00:00:00 2001 From: Janneke Nieuwenhuizen Date: Wed, 6 Sep 2023 10:52:17 +0200 Subject: guix: shell: Don't whitelist / by typo in `shell-authorized-directories'. Fixes . * guix/scripts/shell.scm (authorized-shell-directory?): After warning, continue LOOP to return valid query result for DIRECTORY. --- guix/scripts/shell.scm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'guix') diff --git a/guix/scripts/shell.scm b/guix/scripts/shell.scm index d67152cef7..83888eee1d 100644 --- a/guix/scripts/shell.scm +++ b/guix/scripts/shell.scm @@ -1,5 +1,6 @@ ;;; GNU Guix --- Functional package management for GNU ;;; Copyright © 2021-2023 Ludovic Courtès +;;; Copyright © 2023 Janneke Nieuwenhuizen ;;; ;;; This file is part of GNU Guix. ;;; @@ -232,7 +233,8 @@ (define (authorized-shell-directory? directory) (port-line port) (port-column port)))) (warning loc (G_ "ignoring invalid file name: '~a'~%") - line)))))))))) + line) + (loop)))))))))) (const #f))) (define (options-with-caching opts) -- cgit v1.2.3