diff options
author | mrb0nk500 <b0nk@b0nk.xyz> | 2021-08-01 10:55:31 -0400 |
---|---|---|
committer | mrb0nk500 <b0nk@b0nk.xyz> | 2021-08-01 10:55:59 -0400 |
commit | 455889c21496d691bd0c250b7c9401b53b5c5062 (patch) | |
tree | 9f44130d1f9078e1d8b782ee9378cfcb659c7ddd /git.c | |
parent | 6b0355c191166576fc5b7bf3715ec457dc360a8f (diff) |
Fixed a typo in `create_pull_request_dir()`.
Diffstat (limited to 'git.c')
-rw-r--r-- | git.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -311,7 +311,7 @@ int create_pull_request_dir(pull_request *pr, int id, const char *root) { } /* Is there no existing directory? */ - if (stat(pr_dir, &st) < -1) { + if (stat(pr_dir, &st) < 0) { /* Create a directory with a name of the stringified ID. */ mkdir(pr_dir, 0755); } |