mirror of
https://git.yoctoproject.org/poky
synced 2026-04-05 08:02:25 +02: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>