if fork() fails, it returns undef

if fork() fails, it returns undef not a negative number