commit 6665a20d71f49b2327faddd11ff0440524a61a37
parent deaf8d6d55fac0a40c0bdbebadd1534e2e3722e3
Author: Jan Pobrislo <ccx@webprojekty.cz>
Date: Fri, 15 Jan 2021 19:05:22 +0100
Silence errors from zstat
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/zsh-functions/confz_fileset_init b/zsh-functions/confz_fileset_init
@@ -47,7 +47,7 @@ fileset_stat() {
id=${fileset_stat_cache[$1]:-missing}
if [[ $id == missing ]]; then
typeset -gA fileset_stat_$fileset_stat_next_id
- zstat -L -H fileset_stat_$fileset_stat_next_id $1 >/dev/null
+ zstat -L -H fileset_stat_$fileset_stat_next_id $1 &>/dev/null
ret=$?
if (($ret == 0)); then
fileset_stat_cache[$1]=$fileset_stat_next_id