From c4bdeaeb27855878c6caadaa6b85fa566bc09677 Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Tue, 11 Jan 2011 14:40:48 +0100 Subject: move abrt-action-FOO from /usr/libexec to /usr/bin Signed-off-by: Denys Vlasenko --- src/daemon/Daemon.cpp | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'src/daemon/Daemon.cpp') diff --git a/src/daemon/Daemon.cpp b/src/daemon/Daemon.cpp index a181da15..c01ea75a 100644 --- a/src/daemon/Daemon.cpp +++ b/src/daemon/Daemon.cpp @@ -726,13 +726,9 @@ int main(int argc, char** argv) * (I saw it set only DBUS_STARTER_ADDRESS and DBUS_STARTER_BUS_TYPE). * In this case, set something sane: */ - /* Need to add LIBEXEC_DIR to PATH, because otherwise abrt-action-* - * are not found by exec() - */ const char *env_path = getenv("PATH"); if (!env_path || !env_path[0]) - env_path = "/usr/sbin:/usr/bin:/sbin:/bin"; - putenv(xasprintf("PATH=%s:%s", LIBEXEC_DIR, env_path)); + putenv((char*)"PATH=/usr/sbin:/usr/bin:/sbin:/bin"); putenv(xasprintf("ABRT_VERBOSE=%u", g_verbose)); -- cgit