summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 42e5e02)
raw | patch | inline | side by side (parent: 42e5e02)
author | Justin Sobota <jsobota@ti.com> | |
Tue, 11 Mar 2014 20:53:35 +0000 (16:53 -0400) | ||
committer | Justin Sobota <jsobota@ti.com> | |
Tue, 11 Mar 2014 20:53:35 +0000 (16:53 -0400) |
test/k2h/armv7/linux/rm_server.c | patch | blob | history | |
test/k2k/armv7/linux/rm_server.c | patch | blob | history |
index 2b6b3aed16fd6e55aa793c96f266339cfaa71901..980e3b64b122d0c79cc1f6d7d0fe8860a54191f3 100644 (file)
printf("Failed to kill daemon: %s\n", strerror(errno));
exit(EXIT_FAILURE);
}
- /* Delete PID file */
- unlink(get_pid_file_name());
+ daemon_pid_file_remove();
exit(EXIT_SUCCESS);
}
index 2b6b3aed16fd6e55aa793c96f266339cfaa71901..980e3b64b122d0c79cc1f6d7d0fe8860a54191f3 100644 (file)
printf("Failed to kill daemon: %s\n", strerror(errno));
exit(EXIT_FAILURE);
}
- /* Delete PID file */
- unlink(get_pid_file_name());
+ daemon_pid_file_remove();
exit(EXIT_SUCCESS);
}