diff options
Diffstat (limited to 'plugins/server/command.go')
-rw-r--r-- | plugins/server/command.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/server/command.go b/plugins/server/command.go index 527cc224..a3752e7b 100644 --- a/plugins/server/command.go +++ b/plugins/server/command.go @@ -22,7 +22,7 @@ func (server *Plugin) scanCommand(cmd []string) error { // try to stat _, err := os.Stat(cmd[i]) if err != nil { - return errors.E(op, err) + return errors.E(op, errors.FileNotFound, err) } // stat successful |