diff --git a/appvm/vm-file-editor.c b/appvm/vm-file-editor.c index ab28693..533c363 100644 --- a/appvm/vm-file-editor.c +++ b/appvm/vm-file-editor.c @@ -110,13 +110,16 @@ main() default: waitpid(child, &status, 0); if (status != 0) { + char cmd[512]; #ifdef USE_KDIALOG - system - ("HOME=/home/user DISPLAY=:0 /usr/bin/kdialog --sorry 'Unable to handle mimetype of the requested file!' > /tmp/kdialog.log 2>&1 /tmp/kdialog.log 2>&1 /tmp/kdialog.log 2>&1 /tmp/kdialog.log 2>&1 /tmp/kdialog.log 2>&1