mirror of
https://github.com/valitydev/osquery-1.git
synced 2024-11-07 09:58:54 +00:00
Fix macOS build on Xcode 9.3 (#4291)
This commit is contained in:
parent
293f2d2628
commit
360f58887c
@ -49,8 +49,7 @@ void loadKernelExtension() {
|
||||
|
||||
// Find the panic log file for the last panic if we are booting out of panic.
|
||||
results =
|
||||
SQL::SQL(
|
||||
"SELECT f.path AS path FROM (SELECT * FROM nvram WHERE name like "
|
||||
SQL("SELECT f.path AS path FROM (SELECT * FROM nvram WHERE name like "
|
||||
"'%panic%') AS nv JOIN (SELECT * FROM file WHERE "
|
||||
"directory='/Library/Logs/DiagnosticReports/' AND path like "
|
||||
"'%/Kernel%' ORDER BY ctime DESC LIMIT 1) as f;")
|
||||
|
Loading…
Reference in New Issue
Block a user