summary refs log tree commit diff
path: root/nq.c
diff options
context:
space:
mode:
authorjonsykkel <jonrevold@gmail.com>2021-04-10 03:23:29 +0200
committerLeah Neukirchen <leah@vuxu.org>2021-05-01 21:19:49 +0200
commit26bb9f4bd68795b2febe8c90c78f88b510110b92 (patch)
treeafcf1a158c345d27ab1d160f620bfa0f3ffea765 /nq.c
parent5418eae580a2ada45a3ad66d162be9117c1e22c3 (diff)
downloadnq-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.c2
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);