Skip to content
Snippets Groups Projects
Commit e2a080c0 authored by Cédric Moreau's avatar Cédric Moreau
Browse files

Fix: database name was not taken by command

parent edcab579
No related branches found
No related tags found
No related merge requests found
......@@ -40,6 +40,10 @@ ucoind() {
local UCOIN_ERR_FILE
UCOIN_LOG_FILE=$UCOIN_DATA_HOME/$UCOIN_DATABASE/ucoin.log
UCOIN_ERR_FILE=$UCOIN_DATA_HOME/$UCOIN_DATABASE/ucoin.err.log
UCOIN_DATABASE=$2
if [ -z $UCOIN_DATABASE ]; then
UCOIN_DATABASE="$UCOIN_DB"
fi
if [ -z $UCOIN_DATABASE ]; then
UCOIN_DATABASE="ucoin_default"
fi
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment