From bbe61e6019a4d0a213e42a80d37638e13759bba3 Mon Sep 17 00:00:00 2001 From: ng0 Date: Sat, 9 Mar 2019 11:59:23 +0000 Subject: bashism --- src/gns/test_gns_revocation.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/gns/test_gns_revocation.sh') diff --git a/src/gns/test_gns_revocation.sh b/src/gns/test_gns_revocation.sh index 08a0f8ac1..3c0cf02fb 100755 --- a/src/gns/test_gns_revocation.sh +++ b/src/gns/test_gns_revocation.sh @@ -1,7 +1,7 @@ -#!/bin/bash +#!/bin/sh # This file is in the public domain. trap "gnunet-arm -e -c test_gns_lookup.conf" SIGINT -which timeout &> /dev/null && DO_TIMEOUT="timeout 5" +which timeout > /dev/null 2>&1 && DO_TIMEOUT="timeout 5" LOCATION=$(which gnunet-config) if [ -z $LOCATION ] @@ -40,7 +40,7 @@ then exit 1 fi -if [ "x$RES_IP_REV" == "x" ] +if [ "x$RES_IP_REV" = "x" ] then exit 0 else -- cgit v1.2.3