Clarify comment
authorSiraaj Khandkar <siraaj@khandkar.net>
Mon, 30 Jul 2018 14:16:41 +0000 (10:16 -0400)
committerSiraaj Khandkar <siraaj@khandkar.net>
Mon, 30 Jul 2018 14:16:41 +0000 (10:16 -0400)
bin/khatus_loop

index edefb98..99e1628 100755 (executable)
@@ -512,7 +512,7 @@ consume() {
             function make_status_mem(    total, used, percent, status) {
                 total = db["memory_total"]
                 used  = db["memory_used"]
-                # To avoid division by zero
+                # To avoid division by zero when data is missing
                 if (total && used) {
                     percent = round((used / total) * 100)
                     status = sprintf("%d%%", percent)
This page took 0.027934 seconds and 4 git commands to generate.