Remove unneeded quotes
This commit is contained in:
parent
8d48b4aadf
commit
7655bc56a3
1 changed files with 1 additions and 1 deletions
2
rowbot
2
rowbot
|
@ -954,7 +954,7 @@ factoids_cmd_ls() {
|
||||||
}
|
}
|
||||||
|
|
||||||
plugin_not_found_factoids() {
|
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.
|
# The exit status isn't important here.
|
||||||
# shellcheck disable=SC2155
|
# shellcheck disable=SC2155
|
||||||
local fact=$(<"${config[fact-root]}"/"${msg[to]}"/"$action")
|
local fact=$(<"${config[fact-root]}"/"${msg[to]}"/"$action")
|
||||||
|
|
Loading…
Reference in a new issue