Re: [pve-devel] [PATCH #1941 storage] Plugin: Remove empty directories on VM destroy

2019-01-24 Thread Thomas Lamprecht
On 1/23/19 5:39 PM, Christian Ebner wrote: > Remove directories if they are empty after destroying a VM. > works OK, some comment/nit inline. > Signed-off-by: Christian Ebner > --- > PVE/Storage/Plugin.pm | 5 + > 1 file changed, 5 insertions(+) > > diff --git a/PVE/Storage/Plugin.pm b/PV

[pve-devel] [PATCH #1941 storage] Plugin: Remove empty directories on VM destroy

2019-01-23 Thread Christian Ebner
Remove directories if they are empty after destroying a VM. Signed-off-by: Christian Ebner --- PVE/Storage/Plugin.pm | 5 + 1 file changed, 5 insertions(+) diff --git a/PVE/Storage/Plugin.pm b/PVE/Storage/Plugin.pm index e0c2a4e..00131df 100644 --- a/PVE/Storage/Plugin.pm +++ b/PVE/Storage/