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)
commit3b7f948896440f41092f14347b17ce114072c569
tree0ce4407674c98ecae1e8ca5c2bc0790e4ad9f98c
parent40ec66c5320ebed6a99ffd92456d1ccde5d06345
grml_chroot: fix broken mount argument handling

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.
usr_sbin/grml-chroot