Skip to content

Commit

Permalink
Merge branch 'master' into heads-and-tails
Browse files Browse the repository at this point in the history
  • Loading branch information
moloch-- authored Sep 17, 2023
2 parents a2bbaa0 + a670538 commit b3acf2d
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions implant/sliver/handlers/handlers.go
Original file line number Diff line number Diff line change
Expand Up @@ -455,9 +455,7 @@ func prepareDownload(path string, filter string, recurse bool, maxBytes int64, m
var err error

fileInfo, err := os.Stat(path + filter)
if err != nil {
return nil, false, 0, 1, err
}

if err == nil && !fileInfo.IsDir() {
// Then this is a single file
fileHandle, err := os.Open(path + filter)
Expand Down

0 comments on commit b3acf2d

Please sign in to comment.