diff options
Diffstat (limited to 'kdecore/kpty.cpp')
-rw-r--r-- | kdecore/kpty.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kdecore/kpty.cpp b/kdecore/kpty.cpp index c0c7c9756..035ca530a 100644 --- a/kdecore/kpty.cpp +++ b/kdecore/kpty.cpp @@ -453,7 +453,7 @@ void KPty::login(const char *user, const char *remotehost) #ifdef HAVE_UTEMPTER KProcess_Utmp utmp; utmp.cmdFd = d->masterFd; - utmp << "/usr/lib/utempter/utempter" << "add"; + utmp << UTEMPTER_HELPER << "add"; if (remotehost) utmp << remotehost; utmp.start(KProcess::Block); @@ -498,7 +498,7 @@ void KPty::logout() #ifdef HAVE_UTEMPTER KProcess_Utmp utmp; utmp.cmdFd = d->masterFd; - utmp << "/usr/lib/utempter/utempter" << "del"; + utmp << UTEMPTER_HELPER << "del"; utmp.start(KProcess::Block); #elif defined(USE_LOGIN) const char *str_ptr = d->ttyName.data(); |