diff options
author | Frantisek Sumsal <frantisek@sumsal.cz> | 2023-07-14 17:39:05 +0200 |
---|---|---|
committer | Luca Boccassi <luca.boccassi@gmail.com> | 2023-07-14 23:49:01 +0200 |
commit | be492020eca6493ab0869ef3aee4ab629180bc7f (patch) | |
tree | 095998db0198fc0aba9c7c024259ebe57a7fb60a /src/socket-activate | |
parent | Merge pull request #28370 from ldv-alt/cname (diff) | |
download | systemd-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.c | 2 |
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) |