Benjamin Drung 806c757439 scripts/functions: Fix syntax error: unexpected "(" on panic
When the IFS is set (e.g. to ",") the reading of /proc/consoles might
not correctly split the line into `console` and `rest`. Running

```
IFS=","
panic "error message"
```

will show:

```
Spawning shell within the initramfs as requested
sh: syntax error: unexpected "("
```

Therefore explicitly unset IFS in the panic function.

Signed-off-by: Benjamin Drung <benjamin.drung@cloud.ionos.com>
2018-12-10 16:49:33 +01:00
..