aboutsummaryrefslogtreecommitdiff
path: root/qa/rpc-tests/walletbackup.sh
diff options
context:
space:
mode:
Diffstat (limited to 'qa/rpc-tests/walletbackup.sh')
-rwxr-xr-xqa/rpc-tests/walletbackup.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/qa/rpc-tests/walletbackup.sh b/qa/rpc-tests/walletbackup.sh
index 7444670980..b88d5920f7 100755
--- a/qa/rpc-tests/walletbackup.sh
+++ b/qa/rpc-tests/walletbackup.sh
@@ -149,7 +149,7 @@ echo "Creating transactions..."
function S {
TXID=$( $CLI -datadir=${D}/node${1} sendtoaddress ${2} "${3}" 0 )
- if [[ $TXID == "" ]] ; then
+ if [ x$TXID = x ] ; then
echoerr "node${1}: error sending ${3} btc"
echo -n "node${1} balance: "
$CLI -datadir=${D}/node${1} getbalance "*" 0