diff options
author | Tobias Brunner <tobias@strongswan.org> | 2008-08-28 08:05:07 +0000 |
---|---|---|
committer | Tobias Brunner <tobias@strongswan.org> | 2008-08-28 08:05:07 +0000 |
commit | 8bbc7ca71034db65bf40f656643459d81a8a1cd0 (patch) | |
tree | 6495cfc503f4fda355905f27537abcce8de7ca73 /src/dumm/guest.c | |
parent | 6c20579a43a73916574f887bf6dc67bc122c0c65 (diff) | |
download | strongswan-8bbc7ca71034db65bf40f656643459d81a8a1cd0.tar.bz2 strongswan-8bbc7ca71034db65bf40f656643459d81a8a1cd0.tar.xz |
* allow to load templates from arbitrary places
* changed implementation of guest?/iface?
Diffstat (limited to 'src/dumm/guest.c')
-rw-r--r-- | src/dumm/guest.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dumm/guest.c b/src/dumm/guest.c index bf0d88dde..53e61692c 100644 --- a/src/dumm/guest.c +++ b/src/dumm/guest.c @@ -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; |