summaryrefslogtreecommitdiffstats
path: root/lib/locale.sh
diff options
context:
space:
mode:
Diffstat (limited to 'lib/locale.sh')
-rw-r--r--lib/locale.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/locale.sh b/lib/locale.sh
index 6b31b1a..103e734 100644
--- a/lib/locale.sh
+++ b/lib/locale.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_LOCALE_SM}" ] && return 0
-_OH_LOCALE_SM='true'
+[ "x${_OH_LOCALE_SM+set}" = 'xset' ] && return 0
+_OH_LOCALE_SM=1
oh_use output