Exit if makepkginfo returns empty pkginfo.

git-svn-id: http://munki.googlecode.com/svn/trunk@952 a4e17f2e-e282-11dd-95e1-755cbddbdd66
This commit is contained in:
Greg Neagle
2010-12-08 18:47:45 +00:00
parent 4142e8fab8
commit 26bc156996
+4
View File
@@ -548,6 +548,10 @@ def main():
# generate pkginfo for the item
pkginfo = makePkgInfo(installer_item)
if not pkginfo:
# makepkginfo returned an error
exit(-1)
if not options.nointeractive:
# try to find existing pkginfo items that match this one
matchingpkginfo = findMatchingPkginfo(pkginfo)