Skip to content

Commit

Permalink
_run/multi: fix provider startup script
Browse files Browse the repository at this point in the history
  • Loading branch information
boz committed Aug 20, 2018
1 parent 32469cd commit 2115e2d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion _run/multi/akash-provider/run.sh
Expand Up @@ -26,7 +26,7 @@ mkdir -p "$AKASH_DATA"
masterKey="$AKASH_DATA/master.key"
providerKey="$AKASH_DATA/provider.key"

if [ ! -f "$masterKey" -o ! -f "$providerKey" ]; then
if [ ! -s "$masterKey" ] || [ ! -s "$providerKey" ]; then
./akash key create master > "$masterKey"
echo "created account: " $(cat "$masterKey")

Expand Down

0 comments on commit 2115e2d

Please sign in to comment.