summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rwxr-xr-xtests/tests.sh2
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