Skip to content

Commit

Permalink
fix: skip return when reading from channel (#32)
Browse files Browse the repository at this point in the history
Signed-off-by: Alessio Greggi <ale_grey_91@hotmail.it>
  • Loading branch information
alegrey91 authored Aug 8, 2024
1 parent 427e348 commit 02cd5fd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cmd/capture.go
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ by passing the function name symbol and the binary args.
for _, functionSymbol := range functionSymbolList {
syscalls, err := captor.Capture(functionSymbol, args, captureOpts)
if err != nil {
return fmt.Errorf("error capturing syscall: %w", err)
fmt.Printf("error capturing syscall: %w", err)
}

saveOpts := writer.WriteOptions{
Expand Down
2 changes: 1 addition & 1 deletion cmd/hunt.go
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ var huntCmd = &cobra.Command{
for _, functionSymbol := range symbolsOrigins.Symbols {
syscalls, err := captor.Capture(functionSymbol, captureArgs, opts)
if err != nil {
return fmt.Errorf("error capturing syscall: %w", err)
fmt.Printf("error capturing syscall: %w", err)
}

saveOpts := writer.WriteOptions{
Expand Down

0 comments on commit 02cd5fd

Please sign in to comment.