Set uninstalled marker on cancel

This commit is contained in:
Rene Pfeuffer
2019-09-27 11:40:06 +02:00
parent 3145b751c6
commit 2519c415bf
2 changed files with 6 additions and 0 deletions

View File

@@ -24,6 +24,7 @@ class PendingPluginUninstallation {
LOG.info("cancel uninstallation of plugin {}", name);
try {
Files.delete(uninstallFile);
plugin.setMarkedForUninstall(false);
} catch (IOException ex) {
throw new PluginFailedToCancelInstallationException("failed to cancel uninstallation of plugin " + name, ex);
}