Skip to content

Commit 85ff3eb

Browse files
committed
opal: fix return status of opal_info_set()
Signed-off-by: Gilles Gouaillardet <[email protected]>
1 parent 1ac931a commit 85ff3eb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

opal/util/info.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -283,7 +283,7 @@ int opal_info_set (opal_info_t *info, const char *key, const char *value)
283283
OPAL_THREAD_LOCK(info->i_lock);
284284
ret = opal_info_set_nolock(info, key, value);
285285
OPAL_THREAD_UNLOCK(info->i_lock);
286-
return OPAL_SUCCESS;
286+
return ret;
287287
}
288288

289289

0 commit comments

Comments
 (0)