mirror of
https://github.com/virt-manager/virt-manager.git
synced 2025-02-25 18:55:27 -06:00
clone: Clarify diagnostic message
This commit is contained in:
parent
8f92f781cb
commit
a7276b2c23
@ -799,8 +799,8 @@ def can_we_clone(conn, vol, path):
|
|||||||
msg = _("Cannot clone unmanaged remote storage.")
|
msg = _("Cannot clone unmanaged remote storage.")
|
||||||
elif not os.access(path, os.R_OK):
|
elif not os.access(path, os.R_OK):
|
||||||
if is_dev:
|
if is_dev:
|
||||||
msg = _("Block devices to clone should be managed\n"
|
msg = _("Block devices to clone must be libvirt\n"
|
||||||
"storage volumes.")
|
"managed storage volumes.")
|
||||||
else:
|
else:
|
||||||
msg = _("No write access to parent directory.")
|
msg = _("No write access to parent directory.")
|
||||||
elif not os.path.exists(path):
|
elif not os.path.exists(path):
|
||||||
|
Loading…
Reference in New Issue
Block a user