grml_chroot: fix broken mount argument handling
authorMichael Prokop <mika@grml.org>
Tue, 7 Jun 2022 13:58:34 +0000 (15:58 +0200)
committerMichael Prokop <mika@grml.org>
Tue, 7 Jun 2022 13:59:09 +0000 (15:59 +0200)
Commit b4a4893b0b6 broke behavior of the grml-chroot script, as it then
passed all mount options as single argument, which then fails:

| + all_options_='-t proc none'
| + mount '-t proc none' /mnt/proc
| mount: /mnt/proc: can't find in /etc/fstab.
| + mountit sysfs sys
| [...]

Convert mount options into an array, to properly work also with quotes.


No differences found