summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2024-04-21 10:35:08 +0200
committerMergify <37929162+mergify[bot]@users.noreply.github.com>2024-04-22 16:15:28 +0000
commit8747c300e521ce252c0f26fab104f97c89d4c292 (patch)
tree49f78a4d60ab51409a5c34913f0e0e2d47c6e88c
parent94780c9b5a684c4e0c0b649d6e07081b0a52274e (diff)
downloadvyos-1x-8747c300e521ce252c0f26fab104f97c89d4c292.tar.gz
vyos-1x-8747c300e521ce252c0f26fab104f97c89d4c292.zip
op-mode: T6244: add whitespace after time unit in "show system uptime"
(cherry picked from commit 31b21d26751b7db7ab784486da5b8690ddd4a058)
-rwxr-xr-xsrc/op_mode/uptime.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/op_mode/uptime.py b/src/op_mode/uptime.py
index d6adf6f4d..059a4c3f6 100755
--- a/src/op_mode/uptime.py
+++ b/src/op_mode/uptime.py
@@ -49,7 +49,7 @@ def _get_raw_data():
res = {}
res["uptime_seconds"] = _get_uptime_seconds()
- res["uptime"] = seconds_to_human(_get_uptime_seconds())
+ res["uptime"] = seconds_to_human(_get_uptime_seconds(), separator=' ')
res["load_average"] = _get_load_averages()
return res