lnstools

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

commit 2420ac6e65d51df9437513511e5f42c0ad405e1c
parent 85eeceadd85546a404865352f87409bdd1bcf678
Author: Jan Pobrislo <ccx@te2000.cz>
Date:   Mon,  8 Dec 2025 06:42:43 +0000

strict execline argument handling

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

diff --git a/src/lns-bind-chroot.in b/src/lns-bind-chroot.in @@ -1,4 +1,4 @@ -#!shebang:execlineb +#!shebang:execlineb -W elquote:multisubstitute { importas -i 1 1 # require first argument diff --git a/src/lns-prepare-chroot.in b/src/lns-prepare-chroot.in @@ -1,4 +1,4 @@ -#!shebang:execlineb -s1 +#!shebang:execlineb -Ws1 elquote:if { elquote:mkdir -p ${1}/proc ${1}/dev } diff --git a/src/lns-tmpfs-chroot.in b/src/lns-tmpfs-chroot.in @@ -1,4 +1,4 @@ -#!shebang:execlineb +#!shebang:execlineb -W 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