summaryrefslogtreecommitdiffstats
path: root/lib/messages.sh
diff options
context:
space:
mode:
Diffstat (limited to 'lib/messages.sh')
-rw-r--r--lib/messages.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/messages.sh b/lib/messages.sh
index b2d3a2a..7710b00 100644
--- a/lib/messages.sh
+++ b/lib/messages.sh
@@ -19,6 +19,9 @@
# 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_MESSAGES_SH}" ] && return 0
+_OH_MESSAGES_SH=true
+
# TODO: Which of these should print to the standard error stream – just
# oh_error() and oh_warn()?