DEFAULT_PATH_SPLIT_USR macro
This commit is contained in:
committed by
Zbigniew Jędrzejewski-Szmek
parent
4d89874af6
commit
e10a55fd72
+1
-1
@@ -1243,7 +1243,7 @@ int main(int argc, char *argv[]) {
|
||||
gid_t gid = (gid_t) -1;
|
||||
unsigned n_env = 2;
|
||||
const char *envp[] = {
|
||||
"PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
|
||||
"PATH=" DEFAULT_PATH_SPLIT_USR,
|
||||
"container=systemd-nspawn", /* LXC sets container=lxc, so follow the scheme here */
|
||||
NULL, /* TERM */
|
||||
NULL, /* HOME */
|
||||
|
||||
Reference in New Issue
Block a user