Fixing npcoin to initialise _MESSAGES.txt with "" instead of "0"

npcoin should initialise _MESSAGES.txt with "" instead of "0"
This commit is contained in:
login 2023-06-18 17:59:36 +00:00
parent f5a91acd55
commit c1a67ff9b8
1 changed files with 1 additions and 1 deletions

2
npcoin
View File

@ -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