1
0

exit if input file does not exist

Este cometimento está contido em:
Albert S. 2017-06-21 12:14:34 +02:00
ascendente 0cd4d3b927
cometimento b148780344

Ver ficheiro

@ -13,6 +13,7 @@ inputfile="$1"
useragentsfile="$2"
if [ ! -f "$inputfile" ] ; then
echo "inputfile does not exist or is not readable"
exit
fi
while true ; do
shuf "$inputfile" | while read line ; do