summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2009-11-05 03:22:48 +0100
committerLennart Poettering <lennart@poettering.net>2009-11-11 05:26:30 +0100
commit5da02977444805aabb6665d14bd74563941a7b15 (patch)
tree7d74249bbdcd015c56a53fbb6b48fb91a011925f
parent1460374c068b72a496d2bbc3cd62e0fa0447d358 (diff)
daemon: during startup say whether we run in a VM
-rw-r--r--src/daemon/main.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/daemon/main.c b/src/daemon/main.c
index b4625016..0a8e57d3 100644
--- a/src/daemon/main.c
+++ b/src/daemon/main.c
@@ -618,7 +618,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."));
@@ -751,6 +750,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