Fixed missing return value for unlink