summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rw-r--r--tools/idevicesyslog.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/tools/idevicesyslog.c b/tools/idevicesyslog.c
index d306bfc..3fc7922 100644
--- a/tools/idevicesyslog.c
+++ b/tools/idevicesyslog.c
@@ -53,9 +53,11 @@ int main(int argc, char *argv[])
53 uuid[0] = 0; 53 uuid[0] = 0;
54 54
55 signal(SIGINT, clean_exit); 55 signal(SIGINT, clean_exit);
56 signal(SIGQUIT, clean_exit);
57 signal(SIGTERM, clean_exit); 56 signal(SIGTERM, clean_exit);
57#ifndef WIN32
58 signal(SIGQUIT, clean_exit);
58 signal(SIGPIPE, SIG_IGN); 59 signal(SIGPIPE, SIG_IGN);
60#endif
59 61
60 /* parse cmdline args */ 62 /* parse cmdline args */
61 for (i = 1; i < argc; i++) { 63 for (i = 1; i < argc; i++) {