forked from toolshed/abra
		
	fix: clean up if failed to create context
This commit is contained in:
		@ -170,6 +170,7 @@ your SSH configuration. Checks for a valid online domain will be skipped.
 | 
				
			|||||||
		}
 | 
							}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
		if err := newContext(c, domainName); err != nil {
 | 
							if err := newContext(c, domainName); err != nil {
 | 
				
			||||||
 | 
								cleanUp(domainName)
 | 
				
			||||||
			logrus.Fatal(err)
 | 
								logrus.Fatal(err)
 | 
				
			||||||
		}
 | 
							}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user