Commit 9ce62b6
committed
Improve select_file error handling
When tar/zip are unhappy with their inputs, they will yield no list items,
and we want to treat that as fatal.
When the list is empty or the grep fails to find something, we want to explain
which case happened before dying.1 parent 91f4616 commit 9ce62b6
1 file changed
+19
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
134 | 134 | | |
135 | 135 | | |
136 | 136 | | |
137 | | - | |
138 | | - | |
139 | | - | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
140 | 150 | | |
141 | | - | |
| 151 | + | |
| 152 | + | |
142 | 153 | | |
143 | | - | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
144 | 158 | | |
145 | 159 | | |
146 | 160 | | |
| |||
0 commit comments