diff --git a/standard/main.c b/standard/main.c index 6d40789b7987b2d6ae5336926c6bb3dcc26bb8f7..95d3cd037a648281addd5a90620e8b46ecf9a46a 100644 --- a/standard/main.c +++ b/standard/main.c @@ -12,7 +12,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - +#include #include "appspawn_adapter.h" #include "appspawn_msg.h" #include "appspawn_server.h" @@ -22,6 +22,7 @@ int main(int argc, char *const argv[]) if (argc <= 0) { return 0; } + (void)signal(SIGPIPE, SIG_IGN); uint32_t argvSize = 0; char *buffer = (char *)argv[0]; int mode = 0;