commit ed4a47edc46d7521ec74f493e6919d823f98a5a6
parent 4c9226192babf26db21e27914a3bfcb98cc70a80
Author: ccx <ccx@te2000.cz>
Date: Sat, 20 Apr 2024 13:30:50 +0000
Fix brackets
Diffstat:
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/zsh-functions/confz_containers_init b/zsh-functions/confz_containers_init
@@ -412,8 +412,8 @@ confz_container_service_ephemeral_check() {
src_el=\"${${src//\\/\\\\}//\"/\\\"}\"
dst_el=\"${${dst//\\/\\\\}//\"/\\\"}\"
pid1_el_lines+=(
- "if { s6-mount -o bind,$rw,nodev,nosuid $src_el $dst_el )"
- "if { s6-mount -o remount,$rw,nodev,nosuid $dst_el )"
+ "if { s6-mount -o bind,$rw,nodev,nosuid $src_el $dst_el }"
+ "if { s6-mount -o remount,$rw,nodev,nosuid $dst_el }"
)
done
@@ -507,8 +507,8 @@ confz_container_service_generic_check() {
src_el=\"${${src//\\/\\\\}//\"/\\\"}\"
dst_el=\"${${dst//\\/\\\\}//\"/\\\"}\"
pid1_el_lines+=(
- "if { s6-mount -o bind,$rw,nodev,nosuid $src_el $dst_el )"
- "if { s6-mount -o remount,$rw,nodev,nosuid $dst_el )"
+ "if { s6-mount -o bind,$rw,nodev,nosuid $src_el $dst_el }"
+ "if { s6-mount -o remount,$rw,nodev,nosuid $dst_el }"
)
done