14 lines
383 B
Diff
14 lines
383 B
Diff
Index: libvirt-0.7.1/src/virsh.c
|
|
===================================================================
|
|
--- libvirt-0.7.1.orig/src/virsh.c
|
|
+++ libvirt-0.7.1/src/virsh.c
|
|
@@ -8201,7 +8201,7 @@ vshError(vshControl *ctl, int doexit, co
|
|
fputc('\n', stderr);
|
|
|
|
if (doexit) {
|
|
- if (ctl)
|
|
+ if (ctl->conn)
|
|
vshDeinit(ctl);
|
|
exit(EXIT_FAILURE);
|
|
}
|