summaryrefslogtreecommitdiffstats
path: root/src/socket-activate
diff options
context:
space:
mode:
authorFrantisek Sumsal <frantisek@sumsal.cz>2023-07-14 17:39:05 +0200
committerLuca Boccassi <luca.boccassi@gmail.com>2023-07-14 23:49:01 +0200
commitbe492020eca6493ab0869ef3aee4ab629180bc7f (patch)
tree095998db0198fc0aba9c7c024259ebe57a7fb60a /src/socket-activate
parentMerge pull request #28370 from ldv-alt/cname (diff)
downloadsystemd-be492020eca6493ab0869ef3aee4ab629180bc7f.tar.xz
systemd-be492020eca6493ab0869ef3aee4ab629180bc7f.zip
tree-wide: a bunch of Coccinelle-suggested tweaks
rc2 edition
Diffstat (limited to 'src/socket-activate')
-rw-r--r--src/socket-activate/socket-activate.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/socket-activate/socket-activate.c b/src/socket-activate/socket-activate.c
index 2e19d125c3..644bed0dcc 100644
--- a/src/socket-activate/socket-activate.c
+++ b/src/socket-activate/socket-activate.c
@@ -458,7 +458,7 @@ static int run(int argc, char **argv) {
if (!exec_argv)
return log_oom();
- assert(strv_length(exec_argv) > 0);
+ assert(!strv_isempty(exec_argv));
r = install_chld_handler();
if (r < 0)