diff options
-rw-r--r-- | uptime.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/uptime.go b/uptime.go index 3c874ea..2dd45f3 100644 --- a/uptime.go +++ b/uptime.go @@ -7,6 +7,7 @@ import ( ) // executes uptime and responds with a []byte{} +// TODO: account for uptimes <1d and >1d func uptimeQuery(format string) ([]byte, error) { out, err := exec.Command("/usr/bin/uptime").Output() if err != nil { |