summaryrefslogtreecommitdiff
path: root/tests/shred
diff options
context:
space:
mode:
Diffstat (limited to 'tests/shred')
-rwxr-xr-xtests/shred/remove2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/shred/remove b/tests/shred/remove
index 5f2508113..32a53f941 100755
--- a/tests/shred/remove
+++ b/tests/shred/remove
@@ -34,6 +34,6 @@ fail=0
# This would take so long that it appears to infloop
# when using version from fileutils-4.0k.
# When the command completes, expect it to fail.
-shred -u $file > /dev/null 2>&1 && fail=1
+shred -u $file > /dev/null 2>&1 && fail=1 || :
exit $fail