Skip to content

Commit

Permalink
Skip certs folder when purging polypheny home folder
Browse files Browse the repository at this point in the history
  • Loading branch information
vogti committed Dec 11, 2023
1 parent e221333 commit 3692af3
Showing 1 changed file with 2 additions and 1 deletion.
Expand Up @@ -845,7 +845,8 @@ public static boolean purgePolyphenyFolder( ClientCommunicationStream clientComm
}
if ( polyphenyDir.exists() && polyphenyDir.isDirectory() ) {
for ( File f : polyphenyDir.listFiles() ) {
if ( f.getName().equals( "uuid" ) ) {
if ( f.getName().equals( "uuid" ) || f.getName().equals( "certs" ) ) {
// Ignore certs folder (contains files created by root) and uuid (avoids warnings when connecting to docker.
continue;
}
try {
Expand Down

0 comments on commit 3692af3

Please sign in to comment.