Try this Arya

Signed-off-by: Odyssey <odyssey346@disroot.org>
This commit is contained in:
Odyssey 2023-01-07 18:26:14 +01:00
parent 2880eda259
commit 8a9b2623f9
1 changed files with 1 additions and 0 deletions

View File

@ -32,6 +32,7 @@ func main() {
}
// Get the number of users online
out, err := exec.Command("bash", "-c", "/usr/bin/users | /usr/bin/wc -l").Output()
log.Info(string(out))
if err != nil {
log.Error(err)
return c.SendStatus(fiber.StatusInternalServerError)