commit 13edce3b337dd516984ef8aa2cb946303db49e44 parent af23a2333b9daa1cbeee4ba29f448ae9011d1c19 Author: zavok <an2qzavok@gmail.com> Date: Wed, 30 Sep 2020 18:41:37 +0300 turns out i shouldnt use exits in threaded code Diffstat:
M | sss.c | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sss.c b/sss.c @@ -143,7 +143,7 @@ void usage(void) { fprint(2, "usage: %s", argv0); - exits("usage"); + threadexitsall("usage"); } void clear(void)