Do not depend on /proc for calculating runtime
authorMichael Prokop <mika@grml.org>
Fri, 5 Jun 2020 15:44:41 +0000 (17:44 +0200)
committerMichael Prokop <mika@grml.org>
Fri, 5 Jun 2020 15:44:41 +0000 (17:44 +0200)
commit8772657eafe9541d7879b65ff3750903f200cb25
tree0d5a397886492ed57a85d623debb684d0de34f89
parent798b55321d840b470c8a948348993aad88db3ffd
Do not depend on /proc for calculating runtime

For example when running grml-live inside a docker
environment, /proc doesn't necessarily exist.
Instead use seconds since the epoch as base for calculating runtime.

Development time sponsored by Sipwise GmbH
grml-live