summaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2013-09-08 07:51:39 -0400
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2013-09-09 13:49:30 -0400
commitc9d954b27ee125c3c90a6d2951c62eec4abb160b (patch)
tree2a1e3a376ce997b95c5dfa41e50ca48bf2f347df /src/core
parent116cc028742836e61abce7582ec9ecf9f0aaeb53 (diff)
run: allow non-absolute paths as command
Diffstat (limited to 'src/core')
-rw-r--r--src/core/manager.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/core/manager.c b/src/core/manager.c
index 10ccffb404..669af1524f 100644
--- a/src/core/manager.c
+++ b/src/core/manager.c
@@ -456,11 +456,7 @@ static int manager_setup_signals(Manager *m) {
}
static int manager_default_environment(Manager *m) {
-#ifdef HAVE_SPLIT_USR
- const char *path = "PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin";
-#else
- const char *path = "PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin";
-#endif
+ const char *path = "PATH=" DEFAULT_PATH;
assert(m);