summaryrefslogtreecommitdiffstats
path: root/tdecore/kpty.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tdecore/kpty.cpp')
-rw-r--r--tdecore/kpty.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tdecore/kpty.cpp b/tdecore/kpty.cpp
index 42abd1aed..1e5806133 100644
--- a/tdecore/kpty.cpp
+++ b/tdecore/kpty.cpp
@@ -453,7 +453,7 @@ void KPty::login(const char *user, const char *remotehost)
#ifdef HAVE_UTEMPTER
TDEProcess_Utmp utmp;
utmp.cmdFd = d->masterFd;
- utmp << "/usr/lib/utempter/utempter" << "add";
+ utmp << UTEMPTER_HELPER << "add";
if (remotehost)
utmp << remotehost;
utmp.start(TDEProcess::Block);
@@ -498,7 +498,7 @@ void KPty::logout()
#ifdef HAVE_UTEMPTER
TDEProcess_Utmp utmp;
utmp.cmdFd = d->masterFd;
- utmp << "/usr/lib/utempter/utempter" << "del";
+ utmp << UTEMPTER_HELPER << "del";
utmp.start(TDEProcess::Block);
#elif defined(USE_LOGIN)
const char *str_ptr = d->ttyName.data();