mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-03 11:35:19 +00:00
* src/lxc_driver.c: fix a couple of error code, patch by Amy Griffis
daniel
This commit is contained in:
parent
2d1de285b3
commit
6a140adb78
@ -1,3 +1,8 @@
|
||||
Wed May 20 09:10:28 CEST 2009 Daniel Veillard <veillard@redhat.com>
|
||||
|
||||
* src/lxc_driver.c: fix a couple of error code, patch by
|
||||
Amy Griffis
|
||||
|
||||
Tue May 19 09:39:01 EDT 2009 Cole Robinson <crobinso@redhat.com>
|
||||
|
||||
* src/storage_backend_fs.c: VolumeCreateXMLFrom FS storage
|
||||
|
@ -329,13 +329,13 @@ static int lxcDomainUndefine(virDomainPtr dom)
|
||||
}
|
||||
|
||||
if (virDomainIsActive(vm)) {
|
||||
lxcError(dom->conn, dom, VIR_ERR_INTERNAL_ERROR,
|
||||
lxcError(dom->conn, dom, VIR_ERR_OPERATION_INVALID,
|
||||
"%s", _("cannot delete active domain"));
|
||||
goto cleanup;
|
||||
}
|
||||
|
||||
if (!vm->persistent) {
|
||||
lxcError(dom->conn, dom, VIR_ERR_INTERNAL_ERROR,
|
||||
lxcError(dom->conn, dom, VIR_ERR_OPERATION_INVALID,
|
||||
"%s", _("cannot undefine transient domain"));
|
||||
goto cleanup;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user