Commit 7b6d929
committed
rustup-init.sh: Check for /proc early
Check for /proc being mounted as soon as we identify that we're
running the installer on Linux. We need /proc for various reasons
and it'd be better to error out cleanly than to report spurious
messages and then error out later in a confusing way.
This fixes #2654
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>1 parent 3ac5076 commit 7b6d929
1 file changed
+9
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
140 | 140 | | |
141 | 141 | | |
142 | 142 | | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
143 | 151 | | |
144 | 152 | | |
145 | 153 | | |
| |||
237 | 245 | | |
238 | 246 | | |
239 | 247 | | |
| 248 | + | |
240 | 249 | | |
241 | 250 | | |
242 | 251 | | |
| |||
0 commit comments