Searched refs:arg_chdir (Results 1 – 1 of 1) sorted by relevance
127 static char *arg_chdir = NULL; variable237 STATIC_DESTRUCTOR_REGISTER(arg_chdir, freep);1373 r = free_and_strdup(&arg_chdir, optarg); in parse_argv()3510 if (arg_chdir) in inner_child()3511 if (chdir(arg_chdir) < 0) in inner_child()3512 …return log_error_errno(errno, "Failed to change to specified working directory %s: %m", arg_chdir); in inner_child()3572 if (!arg_chdir) in inner_child()4327 free_and_replace(arg_chdir, settings->working_directory); in merge_settings()