Project

General

Profile

« Previous | Next » 

Revision d8a13c97

Added by Andreas Müller over 2 years ago

cleanup

View differences:

src/main/java/eu/etaxonomy/cdm/server/OsChecker.java
11 11
/**
12 12
 * @author andreas
13 13
 * @date Jul 17, 2012
14
 *
15 14
 */
16 15
public class OsChecker {
17 16

  
......
35 34
    }
36 35

  
37 36
    public boolean isLinux() {
38
        if (isMac())
37
        if (isMac()) {
39 38
            return false;
39
        }
40 40
        try {
41 41
            Runtime.getRuntime().exec(new String[] { "sh", "-c", "ls" }).waitFor();
42 42
            return true;

Also available in: Unified diff