core/manager: correct and simplify errno handling
authorMike Yuan <me@yhndnzj.com>
Thu, 23 Nov 2023 12:38:29 +0000 (20:38 +0800)
committerMike Yuan <me@yhndnzj.com>
Thu, 23 Nov 2023 12:42:44 +0000 (20:42 +0800)
commit9e743e7ea93efea2e20eab38d5bf51948336887d
treeee85946fc4bdb32cc59302b4cc912ef2beaa3474
parent5cacac04fa7a7f2203a13a69d41201c3771a719f
core/manager: correct and simplify errno handling

open_parent() is our own function that returns negative errno.
src/core/manager.c