diff --git a/kiss b/kiss index 7ed417d..9dc89f7 100755 --- a/kiss +++ b/kiss @@ -581,7 +581,9 @@ pkg_etcsums() ( # This function runs as a sub-shell to avoid having to 'cd' back to the # prior directory before being able to continue. - cd "$pkg_dir/$1/etc" 2>/dev/null || return 0; cd .. + [ -d "$pkg_dir/$1/etc" ] || return 0 + + cd "$pkg_dir/$1" find etc -type f | while read -r line; do sh256 "$line"