summaryrefslogtreecommitdiff
path: root/classes
diff options
context:
space:
mode:
Diffstat (limited to 'classes')
-rw-r--r--classes/package.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/classes/package.bbclass b/classes/package.bbclass
index 008eca5530..bb81f33b29 100644
--- a/classes/package.bbclass
+++ b/classes/package.bbclass
@@ -427,7 +427,7 @@ python populate_packages () {
dpath = os.path.dirname(fpath)
bb.mkdirhier(dpath)
ret = bb.copyfile(file, fpath)
- if ret is False or ret == 0:
+ if ret is False:
raise bb.build.FuncFailed("File population failed when copying %s to %s" % (file, fpath))
if pkg == main_pkg and main_is_empty:
main_is_empty = 0