Fixed error level to cli
This commit is contained in:
parent
05f7306192
commit
3693dcd36a
@ -99,14 +99,14 @@ do
|
||||
filename=$tFilename
|
||||
|
||||
if [ -f "$downloadFolder/$filename" ]; then
|
||||
echo "-> $tID exists. Skipping..."
|
||||
if [[ $error_level = 2 ]]; then
|
||||
echo "-> $tID exists. Skipping..."
|
||||
echo "$filename exists." >> $logfile
|
||||
fi
|
||||
else
|
||||
if [[ "$tDESC" = "{No longer listed at LEGO.com}" ]] ; then
|
||||
echo "-> $tID is not available. Skipping..."
|
||||
if [[ $error_level = 1 || $error_level = 2 ]]; then
|
||||
echo "-> $tID is not available. Skipping..."
|
||||
echo "$filename is not available." >> $logfile
|
||||
fi
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user