summaryrefslogtreecommitdiffstats
path: root/src/socket-activate
diff options
context:
space:
mode:
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)