diff options
author | Igor Galić <me+git@igalic.co> | 2020-01-10 05:06:06 +0100 |
---|---|---|
committer | Chad Smith <chad.smith@canonical.com> | 2020-01-09 21:06:06 -0700 |
commit | c911afbfe5a38823971e9cdbd4d1848c6e5c16de (patch) | |
tree | 4c6f04f883e0394b6bfc1d24d94c7db294e76fdd /LICENSE-GPLv3 | |
parent | 6e7f8590402967bffbdd0bb0ae241180910fcd2c (diff) | |
download | vyos-cloud-init-c911afbfe5a38823971e9cdbd4d1848c6e5c16de.tar.gz vyos-cloud-init-c911afbfe5a38823971e9cdbd4d1848c6e5c16de.zip |
util: move uptime's else branch into its own boottime function (#53)
Also fix bugs:
- pass binary instead of string to sysctlbyname(), and
- unpack the "return value" in a struct, rather than in single integer.
LP: #1853160
Co-Authored-By: Ryan Harper <ryan.harper@canonical.com>
Diffstat (limited to 'LICENSE-GPLv3')
0 files changed, 0 insertions, 0 deletions