Skip to content

Commit

Permalink
Merge pull request #3 from binary1985/master
Browse files Browse the repository at this point in the history
Added LairPID Check Updated Patch Version
  • Loading branch information
binary1985 committed Apr 11, 2016
2 parents 9f75d7a + 9954315 commit 1610771
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import (
)

const (
version = "2.0.1"
version = "2.0.2"
tool = "nikto"
usage = `
Usage:
Expand Down Expand Up @@ -127,6 +127,9 @@ func main() {
log.Fatal("Fatal: Missing LAIR_API_SERVER environment variable")
}
lairPID := os.Getenv("LAIR_ID")
if lairPID == "" {
log.Fatal("Fatal: Missing LAIR_ID")
}
var filename string
switch len(flag.Args()) {
case 2:
Expand Down

0 comments on commit 1610771

Please sign in to comment.