qrexec: hide timing debug messages in vm-file-editor

Those are currently barely useful, since starting the application isn't
the biggest bottleneck of DispVM. And since stderr is now visible on
qvm-open-in-dvm output, not scare the user with it.
This commit is contained in:
Marek Marczykowski-Górecki 2016-03-05 00:38:56 +01:00
parent b267e5c305
commit 7c45985331
No known key found for this signature in database
GPG Key ID: 063938BA42CFA724

View File

@ -12,6 +12,7 @@
#define USER_HOME "/home/user"
#define TMP_LOC "/tmp/qopen/"
// #define DEBUG
static const char *cleanup_filename = NULL;
@ -154,7 +155,9 @@ main()
perror("stat pre");
exit(1);
}
#ifdef DEBUG
fprintf(stderr, "time=%s, waiting for qubes-session\n", gettime());
#endif
// wait for X server to starts (especially in DispVM)
if (stat("/tmp/qubes-session-env", &session_stat)) {
switch (child = fork()) {
@ -183,7 +186,9 @@ main()
}
}
}
#ifdef DEBUG
fprintf(stderr, "time=%s, starting editor\n", gettime());
#endif
switch (child = fork()) {
case -1:
perror("fork");