diff options
Diffstat (limited to 'tests/tests.sh')
-rwxr-xr-x | tests/tests.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/tests.sh b/tests/tests.sh index 3a2446b..03ce3eb 100755 --- a/tests/tests.sh +++ b/tests/tests.sh @@ -55,7 +55,7 @@ UNAME=$(uname) if command -v capsh &>/dev/null; then if capsh --has-p=cap_dac_override &>/dev/null || capsh --has-p=cap_dac_read_search &>/dev/null; then - if [ -n "$BFS_TRIED_DROP" ]; then + if [ -n "${BFS_TRIED_DROP:-}" ]; then cat >&2 <<EOF ${RED}error:${RST} Failed to drop capabilities. EOF |