aria2-feeder: morir si algo falla
This commit is contained in:
parent
a573b55f61
commit
0b0162ff6a
1 changed files with 1 additions and 0 deletions
|
@ -11,6 +11,7 @@ while 1 do
|
|||
if not line then break end
|
||||
local result = os.execute("./feed-aria2.sh '"..line.."' '"..rpc.."'")
|
||||
if not result == 0 then
|
||||
print("¡Hubo un error!")
|
||||
return
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue