diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2014-03-25 08:33:46 +0000 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2014-03-25 08:33:46 +0000 |
commit | 278ef8f7bc0c7f63737ad5f5e967ca253c2571cb (patch) | |
tree | 166210c2a1aa8585d2f2edd100c9b5cc82cd2e24 /tools | |
parent | 7addfcbf0f2f609ce2a5b8e9a75ee7efb483531c (diff) |
intel-virtual-output: Do not detach with DBG enabled
Since DBG is sent to stdout, we only see it if we do not daemonize
(which closes stdout).
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'tools')
-rw-r--r-- | tools/virtual.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/virtual.c b/tools/virtual.c index 5883950a..f153523f 100644 --- a/tools/virtual.c +++ b/tools/virtual.c @@ -2789,7 +2789,7 @@ int main(int argc, char **argv) struct context ctx; const char *src_name = NULL; uint64_t count; - int daemonize = 1, bumblebee = 0, all = 0, singleton = 1; + int daemonize = !EXTRA_DBG, bumblebee = 0, all = 0, singleton = 1; int i, ret, open, fail; signal(SIGPIPE, SIG_IGN); |