Re: [PATCH shepherd v2] support: Ignore errors in mkdir-p when the directories exist.

2016-02-06 Thread Ludovic Courtès
David Michael skribis: > * modules/shepherd/support.scm (mkdir-p): Don't throw errors when > mkdir fails but the directory exists afterwards. [...] > - (if (= EEXIST (system-error-errno args)) > + (if (and (file-exists? path) > + (eq? (stat:type (s

[PATCH shepherd v2] support: Ignore errors in mkdir-p when the directories exist.

2016-02-05 Thread David Michael
* modules/shepherd/support.scm (mkdir-p): Don't throw errors when mkdir fails but the directory exists afterwards. --- modules/shepherd/support.scm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/shepherd/support.scm b/modules/shepherd/support.scm index 9bc5f5d..405