Cope if xenstore is down.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
This commit is contained in:
emellor@leeni.uk.xensource.com committed 2006-03-02 21:45:13 +01:00
1 parent 186f0e02a1
commit 2700e32492
1 file changed
+5
+5
View File
@@ -22,6 +22,11 @@ int main(int argc, char **argv)
xsh = xs_daemon_open();
if (xsh == NULL) {
fprintf(stderr, "Failed to contact Xenstored.\n");
return 1;
}
xs_debug_command(xsh, argv[1], NULL, 0);
xs_daemon_close(xsh);
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.