commit 1dc7eebeedcdb53e7b609db716e9a0e2121b754c
parent 220d3039ef9e79c64416c666ee68e4b91d11cfbf
Author: Jan Pobrislo <ccx@webprojekty.cz>
Date: Fri, 22 Feb 2019 04:40:29 +0100
fix typo
Diffstat:
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/bin/confz b/bin/confz
@@ -214,7 +214,8 @@ require() {
else
if (($verbose)); then
print -r - "$confz_indent$fg[cyan]*$fg[default] reason: ${fail_reason:-error $check_ret}"
- (($+functions[confz_${name}_do)) typeset -f -t confz_${name}_do
+ (($+functions[confz_${name}_do)) && \
+ typeset -f -t confz_${name}_do
fi
confz_do "${do_command[@]}" "$@"