Skip to content

Commit 2115e2d

Browse files
committed
_run/multi: fix provider startup script
1 parent 32469cd commit 2115e2d

File tree

1 file changed

+1
-1
lines changed
  • _run/multi/akash-provider

1 file changed

+1
-1
lines changed

_run/multi/akash-provider/run.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ mkdir -p "$AKASH_DATA"
2626
masterKey="$AKASH_DATA/master.key"
2727
providerKey="$AKASH_DATA/provider.key"
2828

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

0 commit comments

Comments
 (0)