system.c : cleaning check result of system call
the purpose is to check properly system result; I think it should also delete a coverity warning if there is one at that line
the purpose is to check properly system result; I think it should also delete a coverity warning if there is one at that line