summaryrefslogtreecommitdiffstats
path: root/lib/load.sh
diff options
context:
space:
mode:
Diffstat (limited to 'lib/load.sh')
-rw-r--r--lib/load.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/load.sh b/lib/load.sh
index 9af4958..a21ca52 100644
--- a/lib/load.sh
+++ b/lib/load.sh
@@ -17,8 +17,8 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
-[ -n "${_OH_LOAD_SM}" ] && return 0
-_OH_LOAD_SM='true'
+[ "x${_OH_LOAD_SM+set}" = 'xset' ] && return 0
+_OH_LOAD_SM=1
# The "common" module is used by this and all other modules.
# We have to manually load the "common" module so we can use it in oh_use.