mirror of
https://github.com/apache/nuttx.git
synced 2026-06-06 16:50:55 +08:00
e50d1211df
The nxspawn_dup2 function will return a value greater than 0, so the loop should only exit if ret is less than 0. Signed-off-by: zhangyuan21 <zhangyuan21@xiaomi.com>