mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-21 23:21:59 +00:00
style fix
This commit is contained in:
parent
7a2d969850
commit
3aeb525036
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user