Skip to content

Commit

Permalink
Added version check for eslogger
Browse files Browse the repository at this point in the history
  • Loading branch information
jbradley89 committed Sep 19, 2023
1 parent 1e2169f commit 579cfd5
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions aftermath/Command.swift
Original file line number Diff line number Diff line change
Expand Up @@ -156,9 +156,14 @@ class Command {


// Start logging Endpoint Security data
mainModule.log("Starting ES logging...")
let esModule = ESModule()
esModule.run()
if #available(macOS 13, *) {
// Start logging Endpoint Security data
mainModule.log("Starting ES logging...")
let esModule = ESModule()
esModule.run()
} else {
print("Unable to run eslogger due to unavailability on this OS")
}


// tcpdump
Expand Down

0 comments on commit 579cfd5

Please sign in to comment.