summaryrefslogtreecommitdiff
path: root/nt.c
diff options
context:
space:
mode:
authoryoukwhd <lolywk@tutanota.com>2024-03-31 00:54:11 +0700
committerAki <please@ignore.pl>2024-03-30 19:27:52 +0100
commit3ee6230f47850c966147655b383eeea2b85ca052 (patch)
treecbc88ef13a12762f486e93abc54091a594333b9c /nt.c
parenta3b048cdd0dae509ac8fafa8ee6d4536bf8e48c7 (diff)
downloadnt-3ee6230f47850c966147655b383eeea2b85ca052.zip
nt-3ee6230f47850c966147655b383eeea2b85ca052.tar.gz
nt-3ee6230f47850c966147655b383eeea2b85ca052.tar.bz2
fix: exit code isn't boolean
Diffstat (limited to 'nt.c')
-rw-r--r--nt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nt.c b/nt.c
index bc00216..bbe4403 100644
--- a/nt.c
+++ b/nt.c
@@ -44,5 +44,5 @@ main(const int argc, const char* argv[])
if (1 > times)
return 1;
const char* str = concat(argc - 2, &argv[2]);
- return repeat(times, str);
+ return !repeat(times, str);
}