Commit 5d29888
committed
core/shell: Mark the internal startup file as persistent
This fixes the following issue:
$ cat ~/.config/oils/oshrc
exec 10>out
echo hello>&10
cat out
$ bin/osh
hello
oils I/O error (main): Bad file descriptor
Signed-off-by: Andrii Sultanov <[email protected]>1 parent c1e7dd3 commit 5d29888
1 file changed
+5
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
151 | 151 | | |
152 | 152 | | |
153 | 153 | | |
154 | | - | |
| 154 | + | |
155 | 155 | | |
156 | 156 | | |
157 | 157 | | |
158 | 158 | | |
159 | 159 | | |
160 | 160 | | |
161 | 161 | | |
162 | | - | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
163 | 166 | | |
164 | 167 | | |
165 | 168 | | |
| |||
0 commit comments