mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-02 09:01:46 -05:00
daemon: during startup say whether we run in a VM
This commit is contained in:
parent
642c69bed8
commit
c079ceeba0
1 changed files with 2 additions and 1 deletions
|
|
@ -648,7 +648,6 @@ int main(int argc, char *argv[]) {
|
|||
|
||||
if (conf->daemonize) {
|
||||
pid_t child;
|
||||
int tty_fd;
|
||||
|
||||
if (pa_stdio_acquire() < 0) {
|
||||
pa_log(_("Failed to acquire stdio."));
|
||||
|
|
@ -781,6 +780,8 @@ int main(int argc, char *argv[]) {
|
|||
|
||||
pa_log_debug(_("Running in valgrind mode: %s"), pa_yes_no(pa_in_valgrind()));
|
||||
|
||||
pa_log_debug(_("Running in VM: %s"), pa_yes_no(pa_running_in_vm()));
|
||||
|
||||
#ifdef __OPTIMIZE__
|
||||
pa_log_debug(_("Optimized build: yes"));
|
||||
#else
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue