mirror of
https://git.yoctoproject.org/poky
synced 2026-02-22 17:39:39 +01:00
When meeting errors, the return number can't be directly compared with -1. Actually, it might be represented as 255. The correct way is to compared it with 0. If the result is non-zero number, we meet error. This patch is for fixing [BUGID #742] Signed-off-by: Liping Ke <liping.ke@intel.coom>