buildone :: fix catching the correct return value

Signed-off-by: BlackEagle <ike.devolder@gmail.com>