mirror of
https://github.com/troglobit/finit.git
synced 2026-11-01 13:10:32 +00:00
svc: The timestamp should have subsecond resolution
When finit completes quicker than one second it will not find if any configurations has been changed. Signed-off-by: Mattias Walström <mattias.walstrom@westermo.se>
This commit is contained in:
1 parent
816aa9a17c
commit
a95df9d64b
5 files changed
+20
-14
No files matched your search
@@ -538,7 +538,7 @@ void service_runlevel(int newlevel)
|
||||
* Returns:
|
||||
* POSIX OK(0) on success, or non-zero errno exit status on failure.
|
||||
*/
|
||||
int service_register(int type, char *line, time_t mtime, char *username)
|
||||
int service_register(int type, char *line, struct timeval *mtime, char *username)
|
||||
{
|
||||
int i = 0;
|
||||
int id = 1; /* Default to ID:1 */
|
||||
|
||||
Reference in new issue
Block a user