about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorlogin <login@tilde.team>2023-06-18 17:59:36 +0000
committerlogin <login@tilde.team>2023-06-18 17:59:36 +0000
commitc1a67ff9b8df9b0249a73bc964a9be6a9a4a6e96 (patch)
tree826a8bfb5843555db22b9c7ce4d697d08afbd142
parentf5a91acd55e23a2f265f85e2ff70ffae1d10031a (diff)
downloadtcoin-c1a67ff9b8df9b0249a73bc964a9be6a9a4a6e96.tar.gz
Fixing npcoin to initialise _MESSAGES.txt with "" instead of "0"
npcoin should initialise _MESSAGES.txt with "" instead of "0"
-rwxr-xr-xnpcoin2
1 files changed, 1 insertions, 1 deletions
diff --git a/npcoin b/npcoin
index 31dd4f4..72588d0 100755
--- a/npcoin
+++ b/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