From 259d7aaf78a0d4bb293c3ffa253948bc7740dcc7 Mon Sep 17 00:00:00 2001 From: Vincent Penquerc'h Date: Fri, 27 Dec 2013 14:32:04 -0500 Subject: [PATCH] qrexec-daemon: use fully qualified path to kdialog/zenity --- qrexec/qrexec-daemon.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/qrexec/qrexec-daemon.c b/qrexec/qrexec-daemon.c index 2c30d66..728ece7 100644 --- a/qrexec/qrexec-daemon.c +++ b/qrexec/qrexec-daemon.c @@ -110,8 +110,8 @@ int ask_on_connect_timeout(int xid, int timeout) int ret; struct stat buf; ret=stat("/usr/bin/kdialog", &buf); -#define KDIALOG_CMD "kdialog --title 'Qrexec daemon' --warningyesno " -#define ZENITY_CMD "zenity --title 'Qrexec daemon' --question --text " +#define KDIALOG_CMD "/usr/bin/kdialog --title 'Qrexec daemon' --warningyesno " +#define ZENITY_CMD "/usr/bin/zenity --title 'Qrexec daemon' --question --text " snprintf(text, sizeof(text), "%s" "'Timeout while trying connecting to qrexec agent of VM %s. Do you want to wait next %d seconds?'",