diff options
-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); } |