diff options
author | Felix Fietkau <nbd@nbd.name> | 2021-09-29 14:03:55 +0200 |
---|---|---|
committer | Felix Fietkau <nbd@nbd.name> | 2021-09-29 15:07:16 +0200 |
commit | fac471c4934a960b30118fa6a45651532cdb6e81 (patch) | |
tree | cd3971e9e82d51ba4d611fd8227a28fb57425eca /main.c | |
parent | 186f6eaeba700cc0b2f5440880b782d155f51b0e (diff) | |
download | netifd-fac471c4934a960b30118fa6a45651532cdb6e81.tar.gz |
wireless: process and close script file descriptor when rerunning setup
On reloading, setup is called without a teardown, so the previous fd might
still be open. Clear it to avoid a leak.
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'main.c')
0 files changed, 0 insertions, 0 deletions