aboutsummaryrefslogtreecommitdiffstats
path: root/nologin-test
diff options
context:
space:
mode:
Diffstat (limited to 'nologin-test')
-rwxr-xr-xnologin-test/test2
1 files changed, 1 insertions, 1 deletions
diff --git a/nologin-test/test b/nologin-test/test
index 846c0a7..d10881b 100755
--- a/nologin-test/test
+++ b/nologin-test/test
@@ -25,7 +25,7 @@ exitvalue ()
message ()
{
- if test -f /etc/nologin.txt; then
+ if test -r /etc/nologin.txt; then
diff <($n) /etc/nologin.txt > /dev/null
report $? "message (with /etc/nologin.txt)"
else