diff options
author | jonsykkel <jonrevold@gmail.com> | 2021-04-10 03:23:29 +0200 |
---|---|---|
committer | Leah Neukirchen <leah@vuxu.org> | 2021-05-01 21:19:49 +0200 |
commit | 26bb9f4bd68795b2febe8c90c78f88b510110b92 (patch) | |
tree | afcf1a158c345d27ab1d160f620bfa0f3ffea765 /nq.c | |
parent | 5418eae580a2ada45a3ad66d162be9117c1e22c3 (diff) | |
download | nq-26bb9f4bd68795b2febe8c90c78f88b510110b92.tar.gz nq-26bb9f4bd68795b2febe8c90c78f88b510110b92.tar.xz nq-26bb9f4bd68795b2febe8c90c78f88b510110b92.zip |
donepath
Closes: #38 [via git-merge-pr]
Diffstat (limited to 'nq.c')
-rw-r--r-- | nq.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nq.c b/nq.c index 9ef1955..151ce6b 100644 --- a/nq.c +++ b/nq.c @@ -169,7 +169,7 @@ usage: char *donepath = getenv("NQDONEDIR"); if (donepath) { - if (mkdir(path, 0777) < 0) { + if (mkdir(donepath, 0777) < 0) { if (errno != EEXIST) { perror("mkdir $NQDONEDIR"); exit(111); |