Skip to content

Commit fe3bf9d

Browse files
committed
os.name property is expected to be Mac OS X on Apple computers
Signed-off-by: Ceki Gulcu <[email protected]>
1 parent c45f110 commit fe3bf9d

File tree

1 file changed

+1
-0
lines changed
  • logback-core/src/main/java/ch/qos/logback/core/util

1 file changed

+1
-0
lines changed

Diff for: logback-core/src/main/java/ch/qos/logback/core/util/EnvUtil.java

+1
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,7 @@ static public boolean isJaninoAvailable() {
128128

129129
public static boolean isMacOs() {
130130
String os = System.getProperty("os.name");
131+
// expected value is "Mac OS X"
131132
return os.toLowerCase().contains("mac");
132133
}
133134

0 commit comments

Comments
 (0)