mirror of https://github.com/login000/tcoin
Fixing npcoin to initialise _MESSAGES.txt with "" instead of "0"
npcoin should initialise _MESSAGES.txt with "" instead of "0"
This commit is contained in:
parent
f5a91acd55
commit
c1a67ff9b8
2
npcoin
2
npcoin
|
@ -47,7 +47,7 @@ else
|
|||
/bin/echo "Sorry, './tcoin/program_accounting/${@^}/_MESSAGES.txt' already exists."
|
||||
exit 1
|
||||
else
|
||||
/bin/echo "0" > "./tcoin/program_accounting/${@^}/_MESSAGES.txt"
|
||||
/bin/echo "" > "./tcoin/program_accounting/${@^}/_MESSAGES.txt"
|
||||
/bin/chmod 600 "./tcoin/program_accounting/${@^}/_MESSAGES.txt"
|
||||
fi
|
||||
fi
|
||||
|
|
Loading…
Reference in New Issue