summaryrefslogtreecommitdiffstats
path: root/src/daemon
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2009-11-05 03:22:48 +0100
committerLennart Poettering <lennart@poettering.net>2009-11-05 03:22:48 +0100
commitc079ceeba00c77a93c613ecf4a3f2cb516db0753 (patch)
tree997d16ec33384b476da3224fbd4ef673f6cdf82e /src/daemon
parent642c69bed85ce7c0be57bd08af0cf7243228f08b (diff)
daemon: during startup say whether we run in a VM
Diffstat (limited to 'src/daemon')
-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 cc6f24bd..48911827 100644
--- a/src/daemon/main.c
+++ b/src/daemon/main.c
@@ -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