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