Permalink
Browse files

Exit with correct status from "pkgng" when done

  • Loading branch information...
kmoore134 committed Aug 9, 2013
1 parent 129cfcd commit c2bb59ab70a0f7adfb425e435e04724bc082e58b
Showing with 1 addition and 0 deletions.
  1. +1 −0 src-sh/xtrafiles/local/share/pcbsd/bin/pkg
@@ -99,6 +99,7 @@ do_pc-pkg()
if [ "$IN_PKG_WRAPPER" = "YES" ] ; then
# Already running in the wrapper, pass through direct to pkg command
/usr/sbin/pkg ${@}
+ exit $?
else
do_pc-pkg $@
exit $?

0 comments on commit c2bb59a

Please sign in to comment.