From 2ebcc8dcdcd9f67020e9eb8f1edc8d1f3052e36d Mon Sep 17 00:00:00 2001 From: Stig Sandbeck Mathisen Date: Sat, 4 Oct 2014 20:33:52 +0200 Subject: [PATCH] Fix tiny bashism, keeping the plugin as /bin/sh --- plugins/chat/tinychat_users_ | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/chat/tinychat_users_ b/plugins/chat/tinychat_users_ index 1a487e5a..39a40679 100755 --- a/plugins/chat/tinychat_users_ +++ b/plugins/chat/tinychat_users_ @@ -19,7 +19,7 @@ room=${0##*tinychat_users_} ## if [ "$1" = "autoconf" ]; then # Check that curl is installed - if hash curl &>/dev/null; then + if hash curl >/dev/null 2>&1; then echo "yes" else echo "no (no curl installed)"