comparison 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
comparison
equal deleted inserted replaced
228:ccf5edab9d5f 229:96332d875fc9
90 if (isatty(0)) { 90 if (isatty(0)) {
91 fputs("loadtool> ", stdout); 91 fputs("loadtool> ", stdout);
92 fflush(stdout); 92 fflush(stdout);
93 } 93 }
94 if (!fgets(command, sizeof command, stdin)) 94 if (!fgets(command, sizeof command, stdin))
95 default_exit(); 95 default_exit(0);
96 loadtool_dispatch_cmd(command, 0); 96 loadtool_dispatch_cmd(command, 0);
97 } 97 }
98 } 98 }