Don’t exit the command interpreter if we get interrupted by an EINTR when calling fgets().