Skip to content

Commit 0fca4f2

Browse files
authored
Update uslWatcherUploader.zsh
1 parent b7e4d24 commit 0fca4f2

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

uslWatcherUploader.zsh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,6 @@ $log "${logOptions[@]}"
6565
logger "Checking the log for errors.."
6666
$log show /Users/Shared/"$syslogFile" --predicate 'processImagePath CONTAINS[c] "kernel" && eventMessage CONTAINS[c] "AppleUSBRequest::complete"' &> "/Users/Shared/cat_$syslogFile.txt" 2>&1
6767

68-
# Grep /Users/Shared/cat_$syslogFile.txt for "AppleUSBRequest::complete"
6968
if grep -q "AppleUSBRequest::complete" "/Users/Shared/cat_$syslogFile.txt"; then
7069
logger "Found the search phrase in /Users/Shared/cat_$syslogFile.txt"
7170
# change uploader function to what you want, S3 upload etc.

0 commit comments

Comments
 (0)