summaryrefslogtreecommitdiffstats
path: root/lib/load.sh
diff options
context:
space:
mode:
Diffstat (limited to 'lib/load.sh')
-rw-r--r--lib/load.sh8
1 files changed, 1 insertions, 7 deletions
diff --git a/lib/load.sh b/lib/load.sh
index d376084..7dbb3b6 100644
--- a/lib/load.sh
+++ b/lib/load.sh
@@ -26,13 +26,7 @@ _OH_LOAD_SM=1
oh_use()
{
- local module=
-
- if [ ${#} -eq 1 ]; then
- module="${1}"
- else
- return 125
- fi
+ local module="${1}"
module='@pkgdatadir@'"/${module}.sm"
if [ -r "${module}" ]; then