packages/net/eoip/patches/100-add_LF_to_pidfile.patch
Ilya Lipnitskiy 5d8d4fbbcb
treewide: Run refresh on all packages
The crude loop I wrote to come up with this changeset:

  find -L package/feeds/packages/ -name patches | \
  sed 's/patches$/refresh/' | sort | xargs make

Signed-off-by: Ilya Lipnitskiy <ilya.lipnitskiy@gmail.com>
2021-02-20 16:02:15 -08:00

11 lines
249 B
Diff

--- a/eoip.c
+++ b/eoip.c
@@ -430,7 +430,7 @@ int main(int argc, char **argv)
exit(1);
mfd = fopen(pidfile, "w");
- fprintf(mfd,"%d", getpid());
+ fprintf(mfd,"%d\n", getpid());
fclose(mfd);
/* structure of Mikrotik EoIP: