remove failed captures (avoids loop when it's the newest file)
This commit is contained in:
parent
5ddb147317
commit
c2a57943f2
@ -44,6 +44,8 @@ image() {
|
|||||||
case "$line" in
|
case "$line" in
|
||||||
'Error, please try again.')
|
'Error, please try again.')
|
||||||
# Ingress failed when generating image, ignore file.
|
# Ingress failed when generating image, ignore file.
|
||||||
|
echo $'\tFailed capture, file removed.'
|
||||||
|
rm "$1"
|
||||||
return 3
|
return 3
|
||||||
;;
|
;;
|
||||||
#14,522,411 AP 144mm AP
|
#14,522,411 AP 144mm AP
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user