diff options
| author | Jiri Moskovcak <jmoskovc@redhat.com> | 2010-11-10 17:01:31 +0100 |
|---|---|---|
| committer | Jiri Moskovcak <jmoskovc@redhat.com> | 2010-11-10 18:27:05 +0100 |
| commit | 3fce116492052267e5e1a634e5404b1b518f7ef3 (patch) | |
| tree | 3160a2d429987573004fb8166d40542b76a7315b /src/daemon/Daemon.cpp | |
| parent | 9d2cb4518c3a8a72ccc714ddbc131aaa84506092 (diff) | |
move files from lib/plugins to src/plugins
Diffstat (limited to 'src/daemon/Daemon.cpp')
| -rw-r--r-- | src/daemon/Daemon.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/daemon/Daemon.cpp b/src/daemon/Daemon.cpp index a30b2d97..72bb54bf 100644 --- a/src/daemon/Daemon.cpp +++ b/src/daemon/Daemon.cpp @@ -843,6 +843,11 @@ int main(int argc, char** argv) if (!getenv("PATH")) putenv((char*)"PATH=/usr/sbin:/usr/bin:/sbin:/bin"); + /* need to add LIBEXEC_DIR to PATH, because otherwise abrt-action-* + * is not found by exec() + */ + putenv(xasprintf("PATH=%s:%s", LIBEXEC_DIR, getenv("PATH"))); + putenv(xasprintf("ABRT_VERBOSE=%u", g_verbose)); msg_prefix = "abrtd"; /* for log(), error_msg() and such */ |
