diff options
author | Shriram Rajagopalan <rshriram@cs.ubc.ca> | 2012-02-09 18:06:24 +0000 |
---|---|---|
committer | Shriram Rajagopalan <rshriram@cs.ubc.ca> | 2012-02-09 18:06:24 +0000 |
commit | 490d431f99d32c2c700513b59f816729cfa1c1af (patch) | |
tree | 65a3f70484f77ea3754aa172a6edb5e7412251b7 /tools | |
parent | ce631b3f258d5081f01eeca1ef6444fb88fb6900 (diff) | |
download | xen-490d431f99d32c2c700513b59f816729cfa1c1af.tar.gz xen-490d431f99d32c2c700513b59f816729cfa1c1af.tar.bz2 xen-490d431f99d32c2c700513b59f816729cfa1c1af.zip |
libxl: bugfix: create_domain() return to caller if !daemonize
Currently the create_domain function does not honor
the daemonize flag properly. It exits irrespective of
the value of the flag. This patch fixes the issue.
Signed-off-by: Shriram Rajagopalan <rshriram@cs.ubc.ca>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
Committed-by: Ian Jackson <ian.jackson@eu.citrix.com>
Diffstat (limited to 'tools')
-rw-r--r-- | tools/libxl/xl_cmdimpl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/libxl/xl_cmdimpl.c b/tools/libxl/xl_cmdimpl.c index 61ca902084..f10c20c6b4 100644 --- a/tools/libxl/xl_cmdimpl.c +++ b/tools/libxl/xl_cmdimpl.c @@ -1852,7 +1852,7 @@ waitpid_out: * If we have daemonized then do not return to the caller -- this has * already happened in the parent. */ - if ( !need_daemon ) + if ( daemonize && !need_daemon ) exit(ret); return ret; |