diff options
author | Denys Vlasenko <dvlasenk@redhat.com> | 2011-01-11 14:40:48 +0100 |
---|---|---|
committer | Denys Vlasenko <dvlasenk@redhat.com> | 2011-01-11 14:40:48 +0100 |
commit | c4bdeaeb27855878c6caadaa6b85fa566bc09677 (patch) | |
tree | 4fcd2e09d0bb4c76a00bed77b4b7eaac642f2570 /src/daemon/Daemon.cpp | |
parent | 01e282d13ff446c29b6cc5aebd9e54fb7d387555 (diff) | |
download | abrt-c4bdeaeb27855878c6caadaa6b85fa566bc09677.tar.gz abrt-c4bdeaeb27855878c6caadaa6b85fa566bc09677.tar.xz abrt-c4bdeaeb27855878c6caadaa6b85fa566bc09677.zip |
move abrt-action-FOO from /usr/libexec to /usr/bin
Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
Diffstat (limited to 'src/daemon/Daemon.cpp')
-rw-r--r-- | src/daemon/Daemon.cpp | 6 |
1 files changed, 1 insertions, 5 deletions
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)); |