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