From ea4a0c6244db23588c28ee60150205fa5133276a Mon Sep 17 00:00:00 2001 From: Stig Sandbeck Mathisen Date: Sat, 4 Oct 2014 22:15:24 +0200 Subject: [PATCH] Change "&>" bashism to "> ... 2>&1", keeping the script as /bin/sh --- plugins/reddit_karma/reddit_karma_ | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/reddit_karma/reddit_karma_ b/plugins/reddit_karma/reddit_karma_ index 5e195f1d..855cd478 100755 --- a/plugins/reddit_karma/reddit_karma_ +++ b/plugins/reddit_karma/reddit_karma_ @@ -32,7 +32,7 @@ reddit_user=${0##*reddit_karma_} ## 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)"