CLOUDSTACK-4314: fix dir error in ProcessUtil.pidCheck

(cherry picked from commit eb59c3c601)
This commit is contained in:
Wei Zhou 2013-08-14 09:53:53 +02:00
parent 8df22d1818
commit f427041259
1 changed files with 1 additions and 1 deletions

View File

@ -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) {