summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2024-02-28 08:26:29 +0000
committermidipix <writeonce@midipix.org>2024-02-28 08:26:29 +0000
commit53c0ff4390d17c84205aaf87d66373caecc9046f (patch)
tree1806c58eec9931407688bd5b0ee2ed031424be4c
parentdcf6a5f80a8bf402e0ba8bd61eaae7d06a9e46c6 (diff)
downloadslibtool-53c0ff4390d17c84205aaf87d66373caecc9046f.tar.bz2
slibtool-53c0ff4390d17c84205aaf87d66373caecc9046f.tar.xz
slbt_obtain_nminfo(): fix test of ectx->exitcode.
-rw-r--r--src/arbits/slbt_archive_syminfo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/arbits/slbt_archive_syminfo.c b/src/arbits/slbt_archive_syminfo.c
index 525608b..6dab61c 100644
--- a/src/arbits/slbt_archive_syminfo.c
+++ b/src/arbits/slbt_archive_syminfo.c
@@ -122,7 +122,7 @@ static int slbt_obtain_nminfo(
if (rpid < 0) {
return SLBT_SYSTEM_ERROR(dctx,0);
- } else if (ectx->exitcode < 0) {
+ } else if (ectx->exitcode) {
return SLBT_CUSTOM_ERROR(
dctx,
SLBT_ERR_FLOW_ERROR);