don't write \n after teh pid in the pid file
This commit is contained in:
parent
c72772e621
commit
b0e0dd81eb
|
@ -151,7 +151,7 @@ public class Bootstrap {
|
|||
FileSystemUtils.mkdirs(fPidFile.getParentFile());
|
||||
}
|
||||
RandomAccessFile rafPidFile = new RandomAccessFile(fPidFile, "rw");
|
||||
rafPidFile.writeBytes(Long.toString(JvmInfo.jvmInfo().pid()) + "\n");
|
||||
rafPidFile.writeBytes(Long.toString(JvmInfo.jvmInfo().pid()));
|
||||
rafPidFile.close();
|
||||
|
||||
fPidFile.deleteOnExit();
|
||||
|
|
Loading…
Reference in New Issue