Commit c1e7dd3
committed
core/main_loop: Mark the "eval" internal file as persistent
This fixes the following issue:
$ cat source.osh
exec 10>out
echo hello>&10
cat out
$ bin/osh --eval source.osh
hello
oils I/O error (main): Bad file descriptor
Signed-off-by: Andrii Sultanov <[email protected]>1 parent e107265 commit c1e7dd3
1 file changed
+5
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
459 | 459 | | |
460 | 460 | | |
461 | 461 | | |
462 | | - | |
| 462 | + | |
463 | 463 | | |
464 | 464 | | |
465 | 465 | | |
466 | 466 | | |
467 | 467 | | |
468 | | - | |
| 468 | + | |
| 469 | + | |
| 470 | + | |
| 471 | + | |
469 | 472 | | |
470 | 473 | | |
471 | 474 | | |
| |||
0 commit comments