fixes path removal

This commit is contained in:
Keagan McClelland
2020-12-01 01:32:56 -07:00
parent 38320e576e
commit 06c6805b3f
2 changed files with 4 additions and 4 deletions

View File

@@ -526,7 +526,7 @@ replaceDerivativeCerts = do
ExitFailure n -> throwError $ OpenSslE "leaf" n out' err'
sslDir <- toS <$> getAbsoluteLocationFor sslDirectory
liftIO $ removeDirectory sslDir
liftIO $ removePathForcibly sslDir
liftIO $ renameDirectory sslDirTmp sslDir
liftIO $ systemCtl RestartService "nginx" $> ()