diff options
author | Laurent Bercot <ska-skaware@skarnet.org> | 2023-09-20 03:46:43 +0000 |
---|---|---|
committer | Laurent Bercot <ska@appnovation.com> | 2023-09-20 03:46:43 +0000 |
commit | 538db66194f396cf35f6c1113851fcbc321464d7 (patch) | |
tree | 93261399c9b816ac3100aaa35be0b15bf7ea7d9a /src | |
parent | 105748f3911d0b3c413d6edf36d78cfa450a0d80 (diff) | |
download | s6-networking-538db66194f396cf35f6c1113851fcbc321464d7.tar.xz |
Remove extra warning when s6-tcpserver-access has no ruleset
Signed-off-by: Laurent Bercot <ska@appnovation.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/conn-tools/s6-tcpserver-access.c | 1 | ||||
-rw-r--r-- | src/tls/s6-tlsserver.c | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/src/conn-tools/s6-tcpserver-access.c b/src/conn-tools/s6-tcpserver-access.c index 5491ea0..addf66b 100644 --- a/src/conn-tools/s6-tcpserver-access.c +++ b/src/conn-tools/s6-tcpserver-access.c @@ -150,7 +150,6 @@ int main (int argc, char const *const *argv) switch (rulestype) { case 0 : - if (verbosity >= 2) strerr_warnw1x("invoked without a ruleset!") ; accepted = S6_ACCESSRULES_ALLOW ; break ; case 1 : diff --git a/src/tls/s6-tlsserver.c b/src/tls/s6-tlsserver.c index 4c1a951..deffe0d 100644 --- a/src/tls/s6-tlsserver.c +++ b/src/tls/s6-tlsserver.c @@ -143,7 +143,7 @@ int main (int argc, char const *const *argv) if (argc < 3) dieusage() ; } - o.doaccess = o.forceaccess || (o.verbosity >= 2) || o.flagw || o.flagD || !o.flagH || o.flagr || o.flagp || o.localname || o.banner || o.timeout || o.rules ; + o.doaccess = o.forceaccess || o.flagw || o.flagD || !o.flagH || o.flagr || o.flagp || o.localname || o.banner || o.timeout || o.rules ; { size_t pos = 0 ; |