From 7655bc56a34973e0aafbf924c26c6d1e13123af2 Mon Sep 17 00:00:00 2001 From: Nick Chambers Date: Mon, 19 Jul 2021 09:31:40 -0500 Subject: [PATCH] Remove unneeded quotes --- rowbot | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rowbot b/rowbot index e8a29b5..dfbb70b 100755 --- a/rowbot +++ b/rowbot @@ -954,7 +954,7 @@ factoids_cmd_ls() { } plugin_not_found_factoids() { - if [[ -f "${config[fact-root]}"/"${msg[to]}"/"$action" ]]; then + if [[ ${config[fact-root]} && -f ${config[fact-root]}/${msg[to]}/$action ]]; then # The exit status isn't important here. # shellcheck disable=SC2155 local fact=$(<"${config[fact-root]}"/"${msg[to]}"/"$action")