fix ufw enabled checker
Signed-off-by: si458 <simonsmith5521@gmail.com>
si458 committed
May 28, 2026 at 03:24 UTC
9b88cd081e918111e1d5fb4f00ef9007c4d591f4
1 file changed
+1
-1
agents/modules_meshcore/linux-info.js
+1
-1
@@ -85,7 +85,7 @@ function firewall()
85
return ({
86
product: 'UFW',
87
installed: true,
88
- enabled: output.toLowerCase().indexOf('active') !== -1
88
+ enabled: /^status:\s+active$/i.test(output)
89
});
90
}
91