diff --git a/pash b/pash index cf5d15d..4cd0050 100755 --- a/pash +++ b/pash @@ -60,7 +60,7 @@ pw_del() { # Remove empty parent directories of a password # entry. It's fine if this fails as it means that # another entry also lives in the same directory. - rmdir -p "${1%/*}" 2>/dev/null + rmdir -p "${1%/*}" 2>/dev/null || true } }