diff --git a/common/xbps-src/shutils/pkgtarget.sh b/common/xbps-src/shutils/pkgtarget.sh index 02c3ca9e5b0..6ef322fcec9 100644 --- a/common/xbps-src/shutils/pkgtarget.sh +++ b/common/xbps-src/shutils/pkgtarget.sh @@ -114,7 +114,7 @@ install_pkg() { # Package built successfully. Exit directly due to nested install_pkg # and install_pkg_deps functions. remove_cross_pkg $cross - return 0 + exit 0 fi }