about summary refs log tree commit diff
diff options
context:
space:
mode:
authorLeah Neukirchen <leah@vuxu.org>2024-01-06 23:12:41 +0100
committerLeah Neukirchen <leah@vuxu.org>2024-01-06 23:12:41 +0100
commit01361b4228734c36a4543f59b18d6bcb966ebc3c (patch)
treef9abb196eaaad976684dc87201c4692b80f03b26
parent294b54e6771b576ae321146be0900dba05ff2477 (diff)
downloadnitro-01361b4228734c36a4543f59b18d6bcb966ebc3c.tar.gz
nitro-01361b4228734c36a4543f59b18d6bcb966ebc3c.tar.xz
nitro-01361b4228734c36a4543f59b18d6bcb966ebc3c.zip
fix LOG detection -.-
-rw-r--r--nitro.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nitro.c b/nitro.c
index 8d3b8d0..ac9212d 100644
--- a/nitro.c
+++ b/nitro.c
@@ -1411,7 +1411,7 @@ main(int argc, char *argv[])
 					up++;
 					if (services[i].islog)
 						uplog++;
-					if (strcmp(services[i].name, "LOG"))
+					if (strcmp(services[i].name, "LOG") == 0)
 						uplog++;
 				}
 			}