Skip to content

patch to add new line in pid file #1

@ansanto

Description

@ansanto

add following patch to /patches

--- a/eoip.c.orig   2013-09-25 22:50:48.272763057 +0200
+++ b/eoip.c    2013-09-25 22:51:03.804762840 +0200
@@ -430,7 +430,7 @@
    exit(1);

     mfd = fopen(pidfile, "w");
-    fprintf(mfd,"%d", getpid());
+    fprintf(mfd,"%d\n", getpid());
     fclose(mfd);

     /* structure of Mikrotik EoIP:

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions