projects
/
oweals
/
busybox.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ifplugd: close signal race
[oweals/busybox.git]
/
networking
/
ifplugd.c
diff --git
a/networking/ifplugd.c
b/networking/ifplugd.c
index 5059eaf73a1dbaca77f16d447569b1b542dff13b..9a67d24d84f11343cc4854efea8e8d78908b97eb 100644
(file)
--- a/
networking/ifplugd.c
+++ b/
networking/ifplugd.c
@@
-686,6
+686,8
@@
int ifplugd_main(int argc UNUSED_PARAM, char **argv)
goto exiting;
default:
bb_got_signal = 0;
+ /* do not clear bb_got_signal if already 0, this can lose signals */
+ case 0:
break;
}