X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=tests%2Ftest-controller.c;h=a615ab49c80d3d1c35263eb7e014a8acedcbf3f1;hb=0ef165ecb57943e17a8ee8270df68ffb8d032e29;hp=f487d8ce02c41e0a513ec39d2c86771178cfd81d;hpb=ba2fe8e9f17602a260a626c6a823584975dbe757;p=sliver-openvswitch.git diff --git a/tests/test-controller.c b/tests/test-controller.c index f487d8ce0..a615ab49c 100644 --- a/tests/test-controller.c +++ b/tests/test-controller.c @@ -27,6 +27,7 @@ #include "command-line.h" #include "compiler.h" #include "daemon.h" +#include "fatal-signal.h" #include "learning-switch.h" #include "ofp-parse.h" #include "ofp-version-opt.h" @@ -105,7 +106,7 @@ main(int argc, char *argv[]) proctitle_init(argc, argv); set_program_name(argv[0]); parse_options(argc, argv); - signal(SIGPIPE, SIG_IGN); + fatal_ignore_sigpipe(); if (argc - optind < 1) { ovs_fatal(0, "at least one vconn argument required; "