fix: clean up if failed to create context
This commit is contained in:
parent
349cacc1f2
commit
9bf44c15ed
@ -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)
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user