static char **arg_listen = NULL;
static bool arg_accept = false;
static int arg_socket_type = SOCK_STREAM;
-static char **arg_args = NULL;
static char **arg_setenv = NULL;
static char **arg_fdnames = NULL;
static bool arg_inetd = false;
"Datagram sockets do not accept connections. "
"The --datagram and --accept options may not be combined.");
- arg_args = argv + optind;
-
return 1 /* work to do */;
}
if (r <= 0)
return r;
- exec_argv = strv_copy(arg_args);
+ exec_argv = strv_copy(argv + optind);
if (!exec_argv)
return log_oom();