Skip to content

Commit

Permalink
fix(scan): skip wordpress scan for preudo servers (#1142)
Browse files Browse the repository at this point in the history
  • Loading branch information
kotakanbe authored Jan 20, 2021
1 parent 2b918c7 commit b20d2b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scan/base.go
Original file line number Diff line number Diff line change
Expand Up @@ -622,7 +622,7 @@ func (d *DummyFileInfo) IsDir() bool { return false }
func (d *DummyFileInfo) Sys() interface{} { return nil }

func (l *base) scanWordPress() (err error) {
if l.ServerInfo.WordPress.IsZero() {
if l.ServerInfo.WordPress.IsZero() || l.ServerInfo.Type == config.ServerTypePseudo {
return nil
}
l.log.Info("Scanning WordPress...")
Expand Down

0 comments on commit b20d2b2

Please sign in to comment.