programs: sane-sandboxed: make more debuggable
This commit is contained in:
parent
cce03a5dc8
commit
40cc8f5d1c
|
@ -80,15 +80,19 @@ parseArgs() {
|
||||||
shift
|
shift
|
||||||
;;
|
;;
|
||||||
(--sane-sandbox-dns)
|
(--sane-sandbox-dns)
|
||||||
dns+=("$1")
|
# N.B.: these named temporary variables ensure that `set -x` causes $1 to be printed
|
||||||
|
_dns="$1"
|
||||||
|
dns+=("$_dns")
|
||||||
shift
|
shift
|
||||||
;;
|
;;
|
||||||
(--sane-sandbox-firejail-arg)
|
(--sane-sandbox-firejail-arg)
|
||||||
firejailFlags+=("$1")
|
_fjFlag="$1"
|
||||||
|
firejailFlags+=("$_fjFlag")
|
||||||
shift
|
shift
|
||||||
;;
|
;;
|
||||||
(--sane-sandbox-bwrap-arg)
|
(--sane-sandbox-bwrap-arg)
|
||||||
bwrapFlags+=("$1")
|
_bwrapFlag="$1"
|
||||||
|
bwrapFlags+=("$_bwrapFlag")
|
||||||
shift
|
shift
|
||||||
;;
|
;;
|
||||||
(--sane-sandbox-net)
|
(--sane-sandbox-net)
|
||||||
|
@ -96,11 +100,13 @@ parseArgs() {
|
||||||
shift
|
shift
|
||||||
;;
|
;;
|
||||||
(--sane-sandbox-home-path)
|
(--sane-sandbox-home-path)
|
||||||
homePaths+=("$1")
|
_path="$1"
|
||||||
|
homePaths+=("$_path")
|
||||||
shift
|
shift
|
||||||
;;
|
;;
|
||||||
(--sane-sandbox-path)
|
(--sane-sandbox-path)
|
||||||
rootPaths+=("$1")
|
_path="$1"
|
||||||
|
rootPaths+=("$_path")
|
||||||
shift
|
shift
|
||||||
;;
|
;;
|
||||||
(--sane-sandbox-profile)
|
(--sane-sandbox-profile)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user