]> git.corax.cc Git - toolbox/commit
include/inst: Make inst_stop emit a meaningful message upon error
authorMatthias Kruk <m@m10k.eu>
Thu, 15 Apr 2021 23:27:31 +0000 (08:27 +0900)
committerMatthias Kruk <m@m10k.eu>
Thu, 15 Apr 2021 23:27:31 +0000 (08:27 +0900)
commiteb3d6f97936dce487812464bda03de139a3eae8c
tree585582fc9a81932167b97fdddcb52365336237dc
parentf0dfaf5c06d8171b7a67843aec986b0b7c14b2d0
include/inst: Make inst_stop emit a meaningful message upon error

Instead of emitting a user-understandable error message, the inst_stop()
function merely lets an error message from the sem module slip through.
This commit changes the function to emit an error message that tells the
caller why exactly the function failed.
include/inst.sh