qrexec-daemon: use fully qualified path to kdialog/zenity
This commit is contained in:
parent
67f27bd94f
commit
259d7aaf78
@ -110,8 +110,8 @@ int ask_on_connect_timeout(int xid, int timeout)
|
|||||||
int ret;
|
int ret;
|
||||||
struct stat buf;
|
struct stat buf;
|
||||||
ret=stat("/usr/bin/kdialog", &buf);
|
ret=stat("/usr/bin/kdialog", &buf);
|
||||||
#define KDIALOG_CMD "kdialog --title 'Qrexec daemon' --warningyesno "
|
#define KDIALOG_CMD "/usr/bin/kdialog --title 'Qrexec daemon' --warningyesno "
|
||||||
#define ZENITY_CMD "zenity --title 'Qrexec daemon' --question --text "
|
#define ZENITY_CMD "/usr/bin/zenity --title 'Qrexec daemon' --question --text "
|
||||||
snprintf(text, sizeof(text),
|
snprintf(text, sizeof(text),
|
||||||
"%s"
|
"%s"
|
||||||
"'Timeout while trying connecting to qrexec agent of VM %s. Do you want to wait next %d seconds?'",
|
"'Timeout while trying connecting to qrexec agent of VM %s. Do you want to wait next %d seconds?'",
|
||||||
|
Loading…
Reference in New Issue
Block a user