esh: don't die when unable to source

This commit is contained in:
K. Lange 2018-10-29 21:25:31 +09:00
parent 829ebcd4a1
commit 42dbc44212
1 changed files with 1 additions and 0 deletions

View File

@ -1843,6 +1843,7 @@ uint32_t shell_cmd_source(int argc, char * argv[]) {
if (!f) { if (!f) {
fprintf(stderr, "%s: %s: %s", argv[0], argv[1], strerror(errno)); fprintf(stderr, "%s: %s: %s", argv[0], argv[1], strerror(errno));
return 1;
} }
current_file = argv[1]; current_file = argv[1];