download.pl: fix detecting download errors with curl
authorFelix Fietkau <nbd@nbd.name>
Tue, 31 Jan 2017 10:22:21 +0000 (11:22 +0100)
committerFelix Fietkau <nbd@nbd.name>
Tue, 31 Jan 2017 10:24:19 +0000 (11:24 +0100)
commit74c09e714ea36f3d463e0974cd56c32f752a0ad1
tree1d181ce55c830d6c9745952b6e98757517486c01
parent6b0b526a4fc11d3b1b588d5b3b789da0c66adce9
download.pl: fix detecting download errors with curl

Avoid treating error pages as successfully downloaded content

Signed-off-by: Felix Fietkau <nbd@nbd.name>
scripts/download.pl