then
LOCATION="gnunet-config"
fi
-$LOCATION --version &> /dev/null
+$LOCATION --version 1> /dev/null
if test $? != 0
then
echo "GNUnet command line tools cannot be found, check environmental variables PATH and GNUNET_PREFIX"
NAMESTORE_RES=$?
stop_peer
-if [ $NAMESTORE_RES == 0 ]
+if [ $NAMESTORE_RES = 0 ]
then
echo "PASS: Creating name in namestore"
else