From 5e31c4727e712f181966674d250a38c2dd4bd73f Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Tue, 16 Aug 2016 21:05:32 +1200 Subject: Remove some cruft from apf(1) --- bin/apf | 15 --------------- 1 file changed, 15 deletions(-) (limited to 'bin') diff --git a/bin/apf b/bin/apf index 7ec7611a..2aa1cecd 100755 --- a/bin/apf +++ b/bin/apf @@ -12,21 +12,6 @@ fi argfile=$1 shift -# Check the arguments file makes sense -if [[ ! -e $argfile ]] ; then - printf '%s: %s: No such file or directory\n' \ - "$self" "$argfile" - exit 1 -elif [[ -d $argfile ]] ; then - printf '%s: %s: Is a directory\n' \ - "$self" "$argfile" - exit 1 -elif [[ ! -r $argfile ]] ; then - printf '%s: %s: Permission denied\n' \ - "$self" "$argfile" - exit 1 -fi - # Read all the null-delimited arguments from the file declare -a args while IFS= read -rd '' arg ; do -- cgit v1.2.3