shellcheck fixes; closes #690

a small selection of changes from the PR
This commit is contained in:
ed 2025-08-27 18:56:23 +00:00
parent 4c042b3c82
commit f4f702c39d
3 changed files with 2 additions and 3 deletions

View file

@ -9,7 +9,7 @@ bwrap \
--dev-bind /dev /dev \ --dev-bind /dev /dev \
--dir /tmp \ --dir /tmp \
--dir /var \ --dir /var \
--bind $(pwd) $(pwd) \ --bind "$(pwd)" "$(pwd)" \
--share-net \ --share-net \
--die-with-parent \ --die-with-parent \
--file 11 /etc/passwd \ --file 11 /etc/passwd \

View file

@ -141,7 +141,7 @@ chmod 777 "$jail/tmp"
# create a dev # create a dev
(cd $jail; mkdir -p dev; cd dev (cd "$jail"; mkdir -p dev; cd dev
[ -e null ] || mknod -m 666 null c 1 3 [ -e null ] || mknod -m 666 null c 1 3
[ -e zero ] || mknod -m 666 zero c 1 5 [ -e zero ] || mknod -m 666 zero c 1 5
[ -e random ] || mknod -m 444 random c 1 8 [ -e random ] || mknod -m 444 random c 1 8

View file

@ -2,7 +2,6 @@
from __future__ import print_function, unicode_literals from __future__ import print_function, unicode_literals
import argparse import argparse
import traceback
from queue import Queue from queue import Queue