fix: clean up if failed to create context

This commit is contained in:
decentral1se 2024-06-25 00:27:34 +02:00
parent 349cacc1f2
commit 9bf44c15ed
Signed by: decentral1se
GPG Key ID: 03789458B3D0C410

View File

@ -170,6 +170,7 @@ your SSH configuration. Checks for a valid online domain will be skipped.
}
if err := newContext(c, domainName); err != nil {
cleanUp(domainName)
logrus.Fatal(err)
}