fernly-usb-loader: Get rid of call to 'screen'

Since we have an internal terminal of sorts, remove the call to 'screen'
when not running in monitor mode.

Signed-off-by: Sean Cross <xobs@kosagi.com>
This commit is contained in:
Sean Cross 2015-02-04 21:30:03 +08:00
parent 9aad9797e6
commit 0bfdbb314f

View file

@ -1426,8 +1426,11 @@ int main(int argc, char **argv) {
}
return 0;
#else /* MONITOR_BOOT */
cmd_begin("Waiting for ready prompt");
fernvale_wait_banner(serfd, prompt, strlen(prompt));
cmd_end();
close(serfd);
return execl("/usr/bin/screen",
"screen", "-L", argv[1], "115200", NULL);
return 0;
#endif
}