lnstools

Linux namespace tools
git clone https://ccx.te2000.cz/git/lnstools
Log | Files | Refs | README

commit 6edc55fc66f8c8a3ca8561ce35896509fff37382
parent 1121d8c431615d99ec2c985fb0410e83f0f6e548
Author: Jan Pobrislo <ccx@te2000.cz>
Date:   Mon,  8 Dec 2025 06:04:07 +0000

Fix multisubstitute directives

Diffstat:
Msrc/lns-bind-chroot.in | 4++--
Msrc/lns-tmpfs-chroot.in | 4+---
2 files changed, 3 insertions(+), 5 deletions(-)

diff --git a/src/lns-bind-chroot.in b/src/lns-bind-chroot.in @@ -1,8 +1,8 @@ #!shebang:execlineb -S1 elquote:multisubstitute { - elquote:importas -i 1 1 # require first argument - elquote:importas -D /mnt/chroot LNS_ROOT LNS_ROOT + importas -i 1 1 # require first argument + importas -D /mnt/chroot LNS_ROOT LNS_ROOT } elquote:shift -n 1 # remove first argument so we don't have to deal with it with runblock diff --git a/src/lns-tmpfs-chroot.in b/src/lns-tmpfs-chroot.in @@ -1,8 +1,6 @@ #!shebang:execlineb -S1 -elquote:multisubstitute { - elquote:importas -i 1 1 # require first argument -} +elquote:importas -i 1 1 # require first argument elquote:shift -n 1 # remove first argument so we don't have to deal with it with runblock # snapshot current mountpoints for later umount (anything past this point stays)