aboutsummaryrefslogtreecommitdiffstats
path: root/src/redo.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/redo.c')
-rw-r--r--src/redo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/redo.c b/src/redo.c
index 76d8a86..b70cad7 100644
--- a/src/redo.c
+++ b/src/redo.c
@@ -21,7 +21,7 @@ int main(int argc, char *argv[]) {
/* create .redo directory */
if (mkdir(".redo/deps", 0744))
if (errno != EEXIST) /* TODO: unsafe, dir could be a file or broken symlink */
- fatal(ERRM_MKDIR, ".redo");
+ fatal(ERRM_MKDIR, ".redo/deps");
/* set REDO_ROOT */
char *cwd = getcwd(NULL, 0);