projects
/
project
/
uclient.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
97f6c34
)
uclient-fetch: ignore SIGPIPE
author
Felix Fietkau
<nbd@openwrt.org>
Sat, 16 Jan 2016 22:25:38 +0000
(23:25 +0100)
committer
Felix Fietkau
<nbd@openwrt.org>
Sat, 16 Jan 2016 22:25:38 +0000
(23:25 +0100)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
uclient-fetch.c
patch
|
blob
|
history
diff --git
a/uclient-fetch.c
b/uclient-fetch.c
index c64afb7e0b2b10ded49c967547af69a3c7f5343f..c2b7e69b45aa863472b8c139a0e123017f1cfccf 100644
(file)
--- a/
uclient-fetch.c
+++ b/
uclient-fetch.c
@@
-26,6
+26,7
@@
#include <glob.h>
#include <stdint.h>
#include <inttypes.h>
+#include <signal.h>
#include <libubox/blobmsg.h>
@@
-476,6
+477,7
@@
int main(int argc, char **argv)
int i, ch;
int rc;
+ signal(SIGPIPE, SIG_IGN);
init_ustream_ssl();
while ((ch = getopt_long(argc, argv, "cO:qsU:Y:", longopts, &longopt_idx)) != -1) {