Check for return value of system call.

(NOOOOB)