From 3ee6230f47850c966147655b383eeea2b85ca052 Mon Sep 17 00:00:00 2001 From: youkwhd Date: Sun, 31 Mar 2024 00:54:11 +0700 Subject: fix: exit code isn't boolean --- nt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'nt.c') 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); } -- cgit v1.1