From e7c70934f6d01d1d7bf3b4a9dfbd321bfd2bb1e6 Mon Sep 17 00:00:00 2001 From: Salt Date: Thu, 9 Dec 2021 16:45:02 -0600 Subject: [PATCH] Revert "Add a readability check to that file" This reverts commit dc4b522ef51439cae7bde61d3c55cc2e5a17731e. --- check_file_age | 3 --- 1 file changed, 3 deletions(-) diff --git a/check_file_age b/check_file_age index 31a78de..2c2bbab 100755 --- a/check_file_age +++ b/check_file_age @@ -150,9 +150,6 @@ main() { if [ -z "${_args[0]}" ]; then error "Must specify a file" 50 fi - if ! [ -r "${_args[0]}" ]; then - error "File is unreadable: ${_args[0]}" 50 - fi if ! (( _optcritthresh > 0 )) 2>/dev/null; then error "Critical threshold must be an integer greater than 0" 50 fi