fix return code for non-unix platforms
fix return code for non-unix platforms

turbopobre/gummi,bobi32/gummi,mlda065/gummi,turbopobre/gummi,mlda065/gummi,turbopobre/gummi,alexandervdm/gummi,alexandervdm/gummi,mlda065/gummi,mlda065/gummi,bobi32/gummi,bobi32/gummi,alexandervdm/gummi,turbopobre/gummi,bobi32/gummi