mirror of https://github.com/apache/cloudstack.git
CLOUDSTACK-4314: fix dir error in ProcessUtil.pidCheck
(cherry picked from commit eb59c3c601)
This commit is contained in:
parent
8df22d1818
commit
f427041259
|
|
@ -54,7 +54,7 @@ public class ProcessUtil {
|
|||
finputstream.close();
|
||||
dir = props.getProperty("paths.pid");
|
||||
if (dir == null) {
|
||||
dir = "/var/run";
|
||||
dir = pidDir==null?"/var/run":pidDir;
|
||||
}
|
||||
}
|
||||
} catch (IOException e) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue