소스 검색

[contrib] clean log files

mohab metwally 3 년 전
부모
커밋
02f022f491
1개의 변경된 파일6개의 추가작업 그리고 0개의 파일을 삭제
  1. 6 0
      contrib/localnet/darkfid-five-nodes/clean.sh

+ 6 - 0
contrib/localnet/darkfid-five-nodes/clean.sh

@@ -1,2 +1,8 @@
 #!/bin/sh
 rm -rf darkfid0 darkfid1 darkfid2 darkfid3 darkfid4
+# clean log files
+rm /tmp/f_history.log  /tmp/lead_history.log &>/dev/null &
+touch /tmp/f_history.log
+touch /tmp/lead_history.log
+
+