Fix ast_safe_system
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@3263 f38db490-d61c-443f-a65b-d21fe96a405b
This commit is contained in:
parent
d97e97521f
commit
74f0a8da01
|
@ -185,6 +185,7 @@ int ast_safe_system(const char *s)
|
|||
res = WEXITSTATUS(status);
|
||||
else
|
||||
res = -1;
|
||||
break;
|
||||
} else {
|
||||
if (errno != EINTR)
|
||||
break;
|
||||
|
|
Reference in New Issue