shithub: moonfish

Download patch

ref: 6635adcb1c615dc71c51a048dac2def65e2573ac
parent: 968a17b87ed4cc85bd22a4c9e7c3d5790159709d
author: zamfofex <zamfofex@twdb.moe>
date: Wed May 8 08:37:23 EDT 2024

fix status code exit in ‘lichess’

--- a/tools/lichess.c
+++ b/tools/lichess.c
@@ -468,7 +468,7 @@
 	if (username == NULL)
 	{
 		perror(argv0);
-		exit(0);
+		exit(1);
 	}
 	
 	moonfish_close(argv0, tls);
--