Displaying 2 results from an estimated 2 matches for "e4c955e".
Did you mean:
64c925e
2016 May 26
2
[PATCH] customize: random_seed: avoid one file checking for existing files
When the random-seed file is found, then avoid checking its existance
again.
---
customize/random_seed.ml | 9 ++++++---
1 file changed, 6 insertions(+), 3 deletions(-)
diff --git a/customize/random_seed.ml b/customize/random_seed.ml
index e4c955e..1633aed 100644
--- a/customize/random_seed.ml
+++ b/customize/random_seed.ml
@@ -35,7 +35,7 @@ let rec set_random_seed (g : Guestfs.guestfs) root =
List.iter (
fun file ->
if g#is_file file then (
- make_random_seed_file g file;
+ make_random_seed_file g f...
2016 May 26
0
Re: [PATCH] customize: random_seed: avoid one file checking for existing files
...no Toscano wrote:
> When the random-seed file is found, then avoid checking its existance
> again.
> ---
> customize/random_seed.ml | 9 ++++++---
> 1 file changed, 6 insertions(+), 3 deletions(-)
>
> diff --git a/customize/random_seed.ml b/customize/random_seed.ml
> index e4c955e..1633aed 100644
> --- a/customize/random_seed.ml
> +++ b/customize/random_seed.ml
> @@ -35,7 +35,7 @@ let rec set_random_seed (g : Guestfs.guestfs) root =
> List.iter (
> fun file ->
> if g#is_file file then (
> - make_random_seed_file g file;
&...