mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-22 21:55:25 +00:00
Fix error on fs pool build failure
https://bugzilla.redhat.com/show_bug.cgi?id=1119592
Introduced by commit 62927dd
v0.7.6.
This commit is contained in:
parent
13228b854c
commit
d7dedc3650
@ -798,7 +798,7 @@ virStorageBackendFileSystemBuild(virConnectPtr conn ATTRIBUTE_UNUSED,
|
||||
VIR_DIR_CREATE_FORCE_PERMS |
|
||||
VIR_DIR_CREATE_ALLOW_EXIST |
|
||||
(pool->def->type == VIR_STORAGE_POOL_NETFS
|
||||
? VIR_DIR_CREATE_AS_UID : 0)) < 0)) {
|
||||
? VIR_DIR_CREATE_AS_UID : 0))) < 0) {
|
||||
virReportSystemError(-err, _("cannot create path '%s'"),
|
||||
pool->def->target.path);
|
||||
goto error;
|
||||
|
Loading…
Reference in New Issue
Block a user