diff loadtools/ltmain.c @ 229:96332d875fc9

loadtools: preparations for loadtool exit code possibly being nonzero
author Mychaela Falconia <falcon@freecalypso.org>
date Thu, 03 Aug 2017 01:33:06 +0000
parents 6616f4e35579
children a91dc7157544
line wrap: on
line diff
--- a/loadtools/ltmain.c	Thu Aug 03 01:25:40 2017 +0000
+++ b/loadtools/ltmain.c	Thu Aug 03 01:33:06 2017 +0000
@@ -92,7 +92,7 @@
 			fflush(stdout);
 		}
 		if (!fgets(command, sizeof command, stdin))
-			default_exit();
+			default_exit(0);
 		loadtool_dispatch_cmd(command, 0);
 	}
 }