diff options
author | Ulrich Müller <ulm@gentoo.org> | 2019-11-28 14:16:05 +0100 |
---|---|---|
committer | Ulrich Müller <ulm@gentoo.org> | 2019-11-28 14:16:05 +0100 |
commit | 4201251a4b29d50f90616f6d40b1112fd3620749 (patch) | |
tree | c489d58258c5992a94bd6cd4d534e02d2efddd90 /modules | |
parent | Update version to 1.4.15. (diff) | |
download | eselect-4201251a4b29d50f90616f6d40b1112fd3620749.tar.gz eselect-4201251a4b29d50f90616f6d40b1112fd3620749.tar.bz2 eselect-4201251a4b29d50f90616f6d40b1112fd3620749.zip |
rc.eselect: Add missing quotes.
* 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 <ulm@gentoo.org>
Diffstat (limited to 'modules')
-rw-r--r-- | modules/rc.eselect | 6 |
1 files changed, 3 insertions, 3 deletions
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 } |