-
Notifications
You must be signed in to change notification settings - Fork 847
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Two improvements: 1. Create log directories before cleanup check 2. Log a debug message and skip cleanup if the directory does not exist (on Linux usually ~/.config/Fritzing/fzz ) Prior behavior: If the lock directory did not exists (e.g. first start) unrelated files in the folder ~/.config/Fritzing) might be deleted. Normally this does not cause issues, but if Fritzing is untypically installed to ~/.config/Fritzing or the folder is used otherwise, this can cause damage. For example, fritzing would delete its own core parts folder.
- Loading branch information
1 parent
2161372
commit 8a1e068
Showing
2 changed files
with
12 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters