From 15393f04d1621903927d3d62b3fafa1960c1dfee Mon Sep 17 00:00:00 2001 From: ng0 Date: Sat, 9 Mar 2019 11:40:47 +0000 Subject: [PATCH] bashism --- src/reclaim/test_reclaim.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/reclaim/test_reclaim.sh b/src/reclaim/test_reclaim.sh index 311f5382a..da93b10f7 100755 --- a/src/reclaim/test_reclaim.sh +++ b/src/reclaim/test_reclaim.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/bin/sh #trap "gnunet-arm -e -c test_reclaim_lookup.conf" SIGINT LOCATION=$(which gnunet-config) @@ -20,7 +20,7 @@ rm -rf `gnunet-config -c test_reclaim.conf -s PATHS -o GNUNET_HOME -f` # (3) PKEY3.user -> PKEY4 -which timeout &> /dev/null && DO_TIMEOUT="timeout 30" +which timeout > /dev/null 2>&1 && DO_TIMEOUT="timeout 30" TEST_ATTR="test" gnunet-arm -s -c test_reclaim.conf -- 2.25.1