aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/gdb-firejail.sh
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/gdb-firejail.sh')
-rwxr-xr-xcontrib/gdb-firejail.sh8
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
15if [ -z "${1##*/firejail}" ]; then 15if [ -z "${1##*/firejail}" ]; then
16 FIREJAIL=$1 16 FIREJAIL=$1
17else 17else
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)} "$@"
21fi 21fi
22 22
23bash -c "kill -STOP \$\$; exec \"\$0\" \"\$@\"" "$@" & 23bash -c "kill -STOP \$\$; exec \"\$0\" \"\$@\"" "$@" &