* allow to load templates from arbitrary places
* changed implementation of guest?/iface?
This commit is contained in:
+1
-1
@@ -311,7 +311,7 @@ static bool load_template(private_guest_t *this, char *path)
|
||||
}
|
||||
if (access(dir, F_OK) != 0)
|
||||
{
|
||||
if (mkdir(dir, PERME) != 0)
|
||||
if (!mkdir_p(dir, PERME))
|
||||
{
|
||||
DBG1("creating overlay for guest '%s' failed: %m", this->name);
|
||||
return FALSE;
|
||||
|
||||
Reference in New Issue
Block a user