From 4201251a4b29d50f90616f6d40b1112fd3620749 Mon Sep 17 00:00:00 2001 From: Ulrich Müller Date: Thu, 28 Nov 2019 14:16:05 +0100 Subject: rc.eselect: Add missing quotes. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * modules/rc.eselect (show_script_status): Quote strings to prevent globbing, bug 701382. Bug: https://bugs.gentoo.org/701382 Signed-off-by: Ulrich Müller --- modules/rc.eselect | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'modules') diff --git a/modules/rc.eselect b/modules/rc.eselect index 53f08c4..4a3c16d 100644 --- a/modules/rc.eselect +++ b/modules/rc.eselect @@ -74,13 +74,13 @@ show_script_status() { done case ${status} in stopped) - write_kv_list_entry ${script} [${x}] + write_kv_list_entry ${script} "[${x}]" ;; started) - write_kv_list_entry ${script} "$(highlight [${x}])" + write_kv_list_entry ${script} "$(highlight "[${x}]")" ;; *) - write_kv_list_entry ${script} "$(highlight_warning [${x}])" + write_kv_list_entry ${script} "$(highlight_warning "[${x}]")" ;; esac } -- cgit v1.2.3-65-gdbad