Skip to content

Commit

Permalink
cmld.c: Fix copy paste error
Browse files Browse the repository at this point in the history
Signed-off-by: Corinna Lingstädt <[email protected]>
  • Loading branch information
licosec committed Oct 28, 2022
1 parent ecfa254 commit 529a6b5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions daemon/cmld.c
Original file line number Diff line number Diff line change
Expand Up @@ -1488,8 +1488,8 @@ cmld_init(const char *path)
FATAL_ERRNO("Could not mkdir containers directory %s", containers_path);

cmld_wrapped_keys_path = mem_printf("%s/%s", path, CMLD_PATH_CONTAINER_KEYS_DIR);
if (mkdir(containers_path, 0700) < 0 && errno != EEXIST)
FATAL_ERRNO("Could not mkdir container keys directory %s", containers_path);
if (mkdir(cmld_wrapped_keys_path, 0700) < 0 && errno != EEXIST)
FATAL_ERRNO("Could not mkdir container keys directory %s", cmld_wrapped_keys_path);

if (cmld_init_c0(containers_path, device_config_get_c0os(device_config)) < 0)
FATAL("Could not init c0");
Expand Down

0 comments on commit 529a6b5

Please sign in to comment.