From 3e8c0372c261b16ea3144533f854caf7824f8fc3 Mon Sep 17 00:00:00 2001 From: Vincent Penquerc'h Date: Sun, 29 Dec 2013 08:06:59 -0500 Subject: [PATCH] gui-fatal: use fully qualified paths to kdialog/zenity --- qubes-rpc/gui-fatal.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/qubes-rpc/gui-fatal.c b/qubes-rpc/gui-fatal.c index bbf6fa5..1589231 100644 --- a/qubes-rpc/gui-fatal.c +++ b/qubes-rpc/gui-fatal.c @@ -27,10 +27,10 @@ static void produce_message(const char * type, const char *fmt, va_list args) case 0: fix_display(); #ifdef USE_KDIALOG - execlp("kdialog", "kdialog", "--sorry", dialog_msg, NULL); + execlp("/usr/bin/kdialog", "kdialog", "--sorry", dialog_msg, NULL); #else - execlp("zenity", "zenity", "--error", "--text", dialog_msg, NULL); + execlp("/usr/bin/zenity", "zenity", "--error", "--text", dialog_msg, NULL); #endif exit(1); default:;