ia64/xen-unstable
changeset 6665:0922c82a4bf3
Exit if xen_setup fails.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
author | cl349@firebug.cl.cam.ac.uk |
---|---|
date | Tue Sep 06 18:18:56 2005 +0000 (2005-09-06) |
parents | 513ba63787fe |
children | 83bcc68aaf32 |
files | tools/console/daemon/main.c |
line diff
1.1 --- a/tools/console/daemon/main.c Tue Sep 06 18:15:06 2005 +0000 1.2 +++ b/tools/console/daemon/main.c Tue Sep 06 18:18:56 2005 +0000 1.3 @@ -26,8 +26,6 @@ 1.4 #include <sys/types.h> 1.5 1.6 #include "xenctrl.h" 1.7 -#include "xen/io/domain_controller.h" 1.8 -#include "xcs_proto.h" 1.9 1.10 #include "utils.h" 1.11 #include "io.h" 1.12 @@ -83,7 +81,8 @@ int main(int argc, char **argv) 1.13 daemonize("/var/run/xenconsoled.pid"); 1.14 } 1.15 1.16 - xen_setup(); 1.17 + if (!xen_setup()) 1.18 + exit(1); 1.19 1.20 enum_domains(); 1.21