projects
/
project
/
opkg-lede.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
opkg_download: print error when fork() fails
[project/opkg-lede.git]
/
libopkg
/
opkg_download.c
diff --git
a/libopkg/opkg_download.c
b/libopkg/opkg_download.c
index 51d43b39622fd965da8d67e84c6dbbfb70adad5d..f9e7e98386dbb5d2e45f08e9dd54a004ce0033e2 100644
(file)
--- a/
libopkg/opkg_download.c
+++ b/
libopkg/opkg_download.c
@@
-306,8
+306,10
@@
int opkg_verify_file(char *text_file, char *sig_file)
return 0;
pid = fork();
- if (pid < 0)
+ if (pid < 0) {
+ opkg_perror(ERROR, "Failed to fork opkg-key process");
return -1;
+ }
if (!pid) {
execl("/usr/sbin/opkg-key", "opkg-key", "verify", sig_file,