Searched refs:arg_chdir (Results 1 - 1 of 1) sorted by relevance

/systemd/src/nspawn/
H A Dnspawn.c116 static char *arg_chdir = NULL; variable
878 r = free_and_strdup(&arg_chdir, optarg);
2599 if (arg_chdir)
2600 if (chdir(arg_chdir) < 0)
2601 return log_error_errno(errno, "Failed to change to specified working directory %s: %m", arg_chdir);
2644 if (!arg_chdir)
2953 free(arg_chdir);
2954 arg_chdir = settings->working_directory;
3688 free(arg_chdir);

Completed in 1750 milliseconds