From 3fce116492052267e5e1a634e5404b1b518f7ef3 Mon Sep 17 00:00:00 2001 From: Jiri Moskovcak Date: Wed, 10 Nov 2010 17:01:31 +0100 Subject: move files from lib/plugins to src/plugins --- src/daemon/Daemon.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/daemon/Daemon.cpp') 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 */ -- cgit