[Git-commits] [grml/grml-scripts] 3b7f94: grml_chroot: fix broken mount argument handling

Michael Prokop noreply at github.com
Tue Jun 7 15:59:34 CEST 2022


  Branch: refs/heads/master
  Home:   https://github.com/grml/grml-scripts
  Commit: 3b7f948896440f41092f14347b17ce114072c569
      https://github.com/grml/grml-scripts/commit/3b7f948896440f41092f14347b17ce114072c569
  Author: Michael Prokop <mika at grml.org>
  Date:   2022-06-07 (Tue, 07 Jun 2022)

  Changed paths:
    M usr_sbin/grml-chroot

  Log Message:
  -----------
  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.




More information about the Git-commits mailing list