comparison loadtools/bpmain.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 c5766d12360d
children 8c011177adb9
comparison
equal deleted inserted replaced
228:ccf5edab9d5f 229:96332d875fc9
85 if (isatty(0)) { 85 if (isatty(0)) {
86 fputs("buzplay> ", stdout); 86 fputs("buzplay> ", stdout);
87 fflush(stdout); 87 fflush(stdout);
88 } 88 }
89 if (!fgets(command, sizeof command, stdin)) 89 if (!fgets(command, sizeof command, stdin))
90 default_exit(); 90 default_exit(0);
91 buzplay_dispatch_cmd(command); 91 buzplay_dispatch_cmd(command);
92 } 92 }
93 } 93 }