message tweaks if no wrapperr

This commit is contained in:
zzz
2009-05-21 13:12:47 +00:00
parent 4426cc359c
commit d927f8bcb0
2 changed files with 9 additions and 2 deletions

View File

@@ -1029,7 +1029,10 @@ public class Router {
System.out.println("ERROR: Unable to delete the update file!");
updateFile.deleteOnExit();
}
System.out.println("INFO: Restarting after update");
if (System.getProperty("wrapper.version") != null)
System.out.println("INFO: Restarting after update");
else
System.out.println("WARNING: Exiting after update, restart I2P");
System.exit(EXIT_HARD_RESTART);
}
}