diff options
author | a1346054 <36859588+a1346054@users.noreply.github.com> | 2022-09-13 20:21:21 +0000 |
---|---|---|
committer | a1346054 <36859588+a1346054@users.noreply.github.com> | 2022-09-13 22:37:20 +0000 |
commit | 7a5c2b205e4f0c3700f41f2ccd2b104476b8f026 (patch) | |
tree | 1a4f33f8d68139a6bdac2657ed2e9860efc194d6 /test/fnetfilter/fnetfilter.sh | |
parent | tests: stop mixing tabs and spaces (diff) | |
download | firejail-7a5c2b205e4f0c3700f41f2ccd2b104476b8f026.tar.gz firejail-7a5c2b205e4f0c3700f41f2ccd2b104476b8f026.tar.zst firejail-7a5c2b205e4f0c3700f41f2ccd2b104476b8f026.zip |
tests: use bash-style [[...]] instead of [...]
Diffstat (limited to 'test/fnetfilter/fnetfilter.sh')
-rwxr-xr-x | test/fnetfilter/fnetfilter.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/fnetfilter/fnetfilter.sh b/test/fnetfilter/fnetfilter.sh index 9ad822753..52f921232 100755 --- a/test/fnetfilter/fnetfilter.sh +++ b/test/fnetfilter/fnetfilter.sh | |||
@@ -7,7 +7,7 @@ export MALLOC_CHECK_=3 | |||
7 | export MALLOC_PERTURB_=$(($RANDOM % 255 + 1)) | 7 | export MALLOC_PERTURB_=$(($RANDOM % 255 + 1)) |
8 | export LC_ALL=C | 8 | export LC_ALL=C |
9 | 9 | ||
10 | if [ -f /etc/debian_version ]; then | 10 | if [[ -f /etc/debian_version ]]; then |
11 | libdir=$(dirname "$(dpkg -L firejail | grep fcopy)") | 11 | libdir=$(dirname "$(dpkg -L firejail | grep fcopy)") |
12 | export PATH="$PATH:$libdir" | 12 | export PATH="$PATH:$libdir" |
13 | fi | 13 | fi |