diff --git a/xbps-src b/xbps-src index 22361276291..32a86505434 100755 --- a/xbps-src +++ b/xbps-src @@ -266,6 +266,7 @@ masterdir_zap() { } exit_func() { + wait if [ -z "$XBPS_KEEP_ALL" ]; then if [ -n "$IN_CHROOT" ]; then remove_pkg_autodeps