mirror of https://gitee.com/openkylin/libvirt.git
qemu: Remove redundant slash in save directory path
This commit is contained in:
parent
a5b5307da2
commit
b5f8691ee2
src/qemu
|
@ -1773,7 +1773,7 @@ qemudStartup(int privileged) {
|
|||
"%s/cache/libvirt/qemu", LOCAL_STATE_DIR) == -1)
|
||||
goto out_of_memory;
|
||||
if (virAsprintf(&qemu_driver->saveDir,
|
||||
"%s/lib/libvirt/qemu/save/", LOCAL_STATE_DIR) == -1)
|
||||
"%s/lib/libvirt/qemu/save", LOCAL_STATE_DIR) == -1)
|
||||
goto out_of_memory;
|
||||
if (virAsprintf(&qemu_driver->snapshotDir,
|
||||
"%s/lib/libvirt/qemu/snapshot", LOCAL_STATE_DIR) == -1)
|
||||
|
|
Loading…
Reference in New Issue