diff options
Diffstat (limited to 'contrib/gdb-firejail.sh')
-rwxr-xr-x | contrib/gdb-firejail.sh | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/contrib/gdb-firejail.sh b/contrib/gdb-firejail.sh index b00cc65bc..032b031f0 100755 --- a/contrib/gdb-firejail.sh +++ b/contrib/gdb-firejail.sh | |||
@@ -13,11 +13,11 @@ set -x | |||
13 | # setuid firejail process from the absolute beginning. | 13 | # setuid firejail process from the absolute beginning. |
14 | 14 | ||
15 | if [ -z "${1##*/firejail}" ]; then | 15 | if [ -z "${1##*/firejail}" ]; then |
16 | FIREJAIL=$1 | 16 | FIREJAIL=$1 |
17 | else | 17 | else |
18 | # First argument is not named firejail, then add default unless environment | 18 | # First argument is not named firejail, then add default unless environment |
19 | # variable already set. | 19 | # variable already set. |
20 | set -- ${FIREJAIL:=$(command -v firejail)} "$@" | 20 | set -- ${FIREJAIL:=$(command -v firejail)} "$@" |
21 | fi | 21 | fi |
22 | 22 | ||
23 | bash -c "kill -STOP \$\$; exec \"\$0\" \"\$@\"" "$@" & | 23 | bash -c "kill -STOP \$\$; exec \"\$0\" \"\$@\"" "$@" & |