sanebox: remove unnecessary quotes in case statement

This commit is contained in:
Colin 2024-05-17 23:15:00 +00:00
parent bf98da0061
commit 85c0e72bf1

View File

@ -419,7 +419,7 @@ parseArgs() {
while [ "$#" -ne 0 ]; do while [ "$#" -ne 0 ]; do
local arg=$1 local arg=$1
shift shift
case "$arg" in case $arg in
(--) (--)
# rest of args are for the CLI, and not for us. # rest of args are for the CLI, and not for us.
# consider two cases: # consider two cases:
@ -627,7 +627,7 @@ bwrapIngestNet() {
bwrapUnshareNet=() bwrapUnshareNet=()
} }
bwrapIngestKeepNamespace() { bwrapIngestKeepNamespace() {
case "$1" in case $1 in
(cgroup) (cgroup)
bwrapUnshareCgroup=() bwrapUnshareCgroup=()
;; ;;