gui-fatal: use fully qualified paths to kdialog/zenity
This commit is contained in:
parent
73adfc88e3
commit
3e8c0372c2
@ -27,10 +27,10 @@ static void produce_message(const char * type, const char *fmt, va_list args)
|
|||||||
case 0:
|
case 0:
|
||||||
fix_display();
|
fix_display();
|
||||||
#ifdef USE_KDIALOG
|
#ifdef USE_KDIALOG
|
||||||
execlp("kdialog", "kdialog", "--sorry", dialog_msg, NULL);
|
execlp("/usr/bin/kdialog", "kdialog", "--sorry", dialog_msg, NULL);
|
||||||
#else
|
#else
|
||||||
|
|
||||||
execlp("zenity", "zenity", "--error", "--text", dialog_msg, NULL);
|
execlp("/usr/bin/zenity", "zenity", "--error", "--text", dialog_msg, NULL);
|
||||||
#endif
|
#endif
|
||||||
exit(1);
|
exit(1);
|
||||||
default:;
|
default:;
|
||||||
|
Loading…
Reference in New Issue
Block a user