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:
Mattias Walström committed 2017-01-11 16:28:03 +01:00
1 parent 816aa9a17c
commit a95df9d64b
5 files changed
+20 -14

No files matched your search

+1 -1
View File
@@ -28,7 +28,7 @@
#include "svc.h"
void service_runlevel (int newlevel);
int service_register (int type, char *line, time_t mtime, char *username);
int service_register (int type, char *line, struct timeval *mtime, char *username);
void service_unregister (svc_t *svc);
int service_enabled (svc_t *svc);