commit e0fbb5574dffdcccf3bb73556186ad817ef59f06
parent be068f455d9ae3751790dcf0268c5d9b5d30d735
Author: Jan Pobrislo <ccx@webprojekty.cz>
Date: Fri, 18 Dec 2020 06:08:53 +0100
Fix test for environment variables.
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/sbin/ns_run b/sbin/ns_run
@@ -118,13 +118,13 @@ if { s6-mount -n -o bind,ro $NS_BIN ${NS_TMPFS}/bin }
# container-specific setup provided in environment
if {
- if -t { s6-test -V NS_EXTRA }
+ if -t { s6-test -v NS_EXTRA }
importas -i NS_EXTRA NS_EXTRA
execlineb -c $NS_EXTRA
}
if {
- if -t { s6-test -V NS_FSTAB }
+ if -t { s6-test -v NS_FSTAB }
importas -i NS_FSTAB NS_FSTAB
mount -a --fstab $NS_FSTAB
}