summaryrefslogtreecommitdiffstats
path: root/src/db.sh
diff options
context:
space:
mode:
Diffstat (limited to 'src/db.sh')
-rw-r--r--src/db.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/db.sh b/src/db.sh
index 703dca0..4069621 100644
--- a/src/db.sh
+++ b/src/db.sh
@@ -243,7 +243,7 @@ db_del_packages()
# Remove "pool/<hash>/<source>/.db/<binver>_<arch>_<plat>".
rmdir "${dir}"
# Try to remove "pool/<hash>/<source>/.db".
- try_rmdir "${dir%/*}"
+ try_rmdir "${dir%/*}" || :
return 0
}