esh: don't die when unable to source
This commit is contained in:
parent
829ebcd4a1
commit
42dbc44212
|
@ -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];
|
||||||
|
|
Loading…
Reference in New Issue