summaryrefslogtreecommitdiff
path: root/src/nspawn
diff options
context:
space:
mode:
authorShawn Landden <shawn@churchofgit.com>2013-12-20 15:35:38 -0800
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2013-12-20 23:14:21 -0500
commite10a55fd72b5246cec1bbd09135d544db32e0414 (patch)
treecd33a4a8289ade63223acee62435d6b0f2e2cd7c /src/nspawn
parent4d89874af6a798744a32deb314001a13a28f0559 (diff)
DEFAULT_PATH_SPLIT_USR macro
Diffstat (limited to 'src/nspawn')
-rw-r--r--src/nspawn/nspawn.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nspawn/nspawn.c b/src/nspawn/nspawn.c
index a85579b940..241b4b5393 100644
--- a/src/nspawn/nspawn.c
+++ b/src/nspawn/nspawn.c
@@ -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 */