search for: de78a87

Displaying 2 results from an estimated 2 matches for "de78a87".

2013 Dec 09
2
[PATCH] sysprep: allow to specify globbing for --delete
...rm globbing when deleting paths. [1] https://www.redhat.com/archives/libguestfs/2013-October/msg00045.html --- sysprep/sysprep_operation_delete.ml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/sysprep/sysprep_operation_delete.ml b/sysprep/sysprep_operation_delete.ml index de78a87..59d5485 100644 --- a/sysprep/sysprep_operation_delete.ml +++ b/sysprep/sysprep_operation_delete.ml @@ -27,7 +27,9 @@ let add_paths path = paths := path :: !paths let path_perform g root = let paths = List.rev !paths in - List.iter g#rm_rf paths; + if paths <> [] then ( + List.iter...
2013 Dec 09
0
Re: [PATCH] sysprep: allow to specify globbing for --delete
...gt; [1] https://www.redhat.com/archives/libguestfs/2013-October/msg00045.html > --- > sysprep/sysprep_operation_delete.ml | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) > > diff --git a/sysprep/sysprep_operation_delete.ml b/sysprep/sysprep_operation_delete.ml > index de78a87..59d5485 100644 > --- a/sysprep/sysprep_operation_delete.ml > +++ b/sysprep/sysprep_operation_delete.ml > @@ -27,7 +27,9 @@ let add_paths path = paths := path :: !paths > > let path_perform g root = > let paths = List.rev !paths in > - List.iter g#rm_rf paths; > + if...