Skip to content

Commit

Permalink
Clean up fabric sync log files upon exit to ensure a new log file is …
Browse files Browse the repository at this point in the history
…generated during the next run. (#35655)

* Cleanup fabric sync log files after exit

* Address review comment

* Restyled by whitespace

---------

Co-authored-by: Restyled.io <[email protected]>
  • Loading branch information
yufengwangca and restyled-commits authored Sep 19, 2024
1 parent 70cfc89 commit 5dc91f3
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion examples/fabric-admin/scripts/stop_fabric_sync.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,7 @@ fi

# Remove /tmp/chip_* files and directories
rm -rf /tmp/chip_*
echo "Removed /tmp/chip_* files and directories"
echo "Removed /tmp/chip_* files and directories."
rm /tmp/fabric_admin.log
rm /tmp/fabric_bridge_app.log
echo "Removed fabric sync log files."

0 comments on commit 5dc91f3

Please sign in to comment.