summaryrefslogtreecommitdiffstats
path: root/src/daemon/Daemon.cpp
diff options
context:
space:
mode:
authorDenys Vlasenko <dvlasenk@redhat.com>2011-01-11 14:40:48 +0100
committerDenys Vlasenko <dvlasenk@redhat.com>2011-01-11 14:40:48 +0100
commitc4bdeaeb27855878c6caadaa6b85fa566bc09677 (patch)
tree4fcd2e09d0bb4c76a00bed77b4b7eaac642f2570 /src/daemon/Daemon.cpp
parent01e282d13ff446c29b6cc5aebd9e54fb7d387555 (diff)
downloadabrt-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.cpp6
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));