style fix

This commit is contained in:
Yakov Olkhovskiy 2022-08-01 01:45:02 -04:00
parent 7a2d969850
commit 3aeb525036

View File

@ -303,7 +303,7 @@ int do_system(const char * cmd)
if (pid == 0)
{
execlp( "sh" , "sh", "-c", cmd, NULL);
execlp("sh" , "sh", "-c", cmd, NULL);
perror(nullptr);
exit(127);
@ -313,7 +313,7 @@ int do_system(const char * cmd)
int status = 0;
while ((ret = waitpid(pid, &status, 0)) == -1)
{
if ( errno != EINTR)
if (errno != EINTR)
{
perror(nullptr);
return 1;