1
0
mirror of https://github.com/systemd/systemd.git synced 2024-11-02 19:21:53 +03:00

Merge pull request #2771 from 0xAX/core-kernel-timestamp-cleanup

core: use DUAL_TIMESTAMP_NULL to reset kernel_timestamp
This commit is contained in:
Lennart Poettering 2016-02-29 20:33:51 +01:00
commit cae027de59

View File

@ -1435,9 +1435,7 @@ int main(int argc, char *argv[]) {
/* clear the kernel timestamp,
* because we are in a container */
kernel_timestamp.monotonic = 0ULL;
kernel_timestamp.realtime = 0ULL;
kernel_timestamp = DUAL_TIMESTAMP_NULL;
} else {
/* Running as user instance */
arg_running_as = MANAGER_USER;