opkg_download: print error when fork() fails
authorJo-Philipp Wich <jo@mein.io>
Fri, 14 Dec 2018 07:13:38 +0000 (08:13 +0100)
committerJo-Philipp Wich <jo@mein.io>
Fri, 14 Dec 2018 07:13:51 +0000 (08:13 +0100)
commit18740e62c08705f7aed12f1ec74c5c41361d8c3c
tree2916b4d9b0148e4feb14ea9ea12aac2601d3e1b5
parente3d73300bd7bd6d02d00e862bccc66e27449a0c9
opkg_download: print error when fork() fails

Instead of silently failing and claiming that the signature verification
failed, print out the error status when the initial fork() call fails.

Ref: https://bugs.openwrt.org/index.php?do=details&task_id=1999
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
libopkg/opkg_download.c