Skip to content
Snippets Groups Projects
Commit 06eb95d6 authored by René Kijewski's avatar René Kijewski
Browse files

Merge pull request #1216 from LudwigOrtmann/issue-1215

native: set _native_pid correctly in daemon mode
parents 8aa78edb c9f68e79
Branches
No related tags found
No related merge requests found
......@@ -146,6 +146,9 @@ void daemonize(void)
real_printf("RIOT pid: %d\n", _native_pid);
exit(EXIT_SUCCESS);
}
else {
_native_pid = real_getpid();
}
}
void usage_exit(void)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment