aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xasterisk.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/asterisk.c b/asterisk.c
index d3fbe528b..105a02fb7 100755
--- a/asterisk.c
+++ b/asterisk.c
@@ -185,6 +185,7 @@ int ast_safe_system(const char *s)
res = WEXITSTATUS(status);
else
res = -1;
+ break;
} else {
if (errno != EINTR)
break;