aboutsummaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2016-08-16 21:05:32 +1200
committerTom Ryder <tom@sanctum.geek.nz>2016-08-16 21:05:32 +1200
commit5e31c4727e712f181966674d250a38c2dd4bd73f (patch)
treea53fa77d23cce32d3733fb5f557812a3cb1fcc82 /bin
parentChange stderr redirections for consistency (diff)
downloaddotfiles-5e31c4727e712f181966674d250a38c2dd4bd73f.tar.gz
dotfiles-5e31c4727e712f181966674d250a38c2dd4bd73f.zip
Remove some cruft from apf(1)
Diffstat (limited to 'bin')
-rwxr-xr-xbin/apf15
1 files changed, 0 insertions, 15 deletions
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