Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

-k must be a positive integer, not just non-zero

  • Loading branch information...
commit adf0f088e20c3a748ff4844902052b4b285368a5 1 parent 7c26bcd
@falconindy authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 gobble.go
View
4 gobble.go
@@ -223,8 +223,8 @@ func init() {
os.Exit(5)
}
- if *keep == 0 {
- fmt.Fprintln(os.Stderr, "error: keep cannot equal 0")
+ if *keep <= 0 {
+ fmt.Fprintln(os.Stderr, "error: keep must be a positive number")
os.Exit(5)
}
}
Please sign in to comment.
Something went wrong with that request. Please try again.