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:
parent
b267e5c305
commit
7c45985331
@ -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");
|
||||
|
Loading…
Reference in New Issue
Block a user