]> arthur.barton.de Git - netdata.git/commitdiff
build: fix rundir typo
authorAlon Bar-Lev <alon.barlev@gmail.com>
Sat, 2 Apr 2016 21:21:07 +0000 (00:21 +0300)
committerAlon Bar-Lev <alon.barlev@gmail.com>
Sat, 2 Apr 2016 21:21:07 +0000 (00:21 +0300)
Signed-off-by: Alon Bar-Lev <alon.barlev@gmail.com>
src/main.c

index a28e39171ab3a9523c842d62fc816ca3e30173c5..3d8edcfe90a9b7d0eb82e9d23b0b4cc37f710a9c 100755 (executable)
@@ -44,7 +44,7 @@ void netdata_cleanup_and_exit(int ret)
        netdata_exit = 1;
        rrdset_save_all();
        // kill_childs();
-       unlink(RUN_DIR "netdata.pid");
+       unlink(RUN_DIR "/netdata.pid");
        info("NetData exiting. Bye bye...");
        exit(ret);
 }