Fix no such file or directory error (#256)

This commit is contained in:
Robert Liebowitz authored and GitHub committed 2021-05-26 13:58:27 -04:00
1 parent 77622bbc25
commit 61b5c5be69
1 file changed
+2
+2
View File
@@ -42,6 +42,8 @@ _z() {
[ -z "$_Z_OWNER" -a -f "$datafile" -a ! -O "$datafile" ] && return
_z_dirs () {
[ -f "$datafile" ] || return
local line
while read line; do
# only count directories