summaryrefslogtreecommitdiffstats
path: root/lib/load.sh
diff options
context:
space:
mode:
Diffstat (limited to 'lib/load.sh')
-rw-r--r--lib/load.sh9
1 files changed, 6 insertions, 3 deletions
diff --git a/lib/load.sh b/lib/load.sh
index f22e128..ee32e9b 100644
--- a/lib/load.sh
+++ b/lib/load.sh
@@ -31,15 +31,18 @@ ob_use()
if [ "${#}" -eq 1 ]; then
_obu_module="${1}"
else
- return $(_ob_return 125)
+ _ob_return 125
+ return ${?}
fi
_obu_module='@@LIBOPKBUILD@@'"/${_obu_module}.sm"
if [ -r "${_obu_module}" ]; then
. "${_obu_module}"
else
- return $(_ob_return 1)
+ _ob_return 1
+ return ${?}
fi
- return $(_ob_return 0)
+ _ob_return 0
+ return ${?}
}