Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

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

  • Loading branch information...
commit adf0f088e20c3a748ff4844902052b4b285368a5 1 parent 7c26bcd
Dave Reisner authored November 08, 2010

Showing 1 changed file with 2 additions and 2 deletions. Show diff stats Hide diff stats

  1. 4  gobble.go
4  gobble.go
@@ -223,8 +223,8 @@ func init() {
223 223
     os.Exit(5)
224 224
   }
225 225
 
226  
-  if *keep == 0 {
227  
-    fmt.Fprintln(os.Stderr, "error: keep cannot equal 0")
  226
+  if *keep <= 0 {
  227
+    fmt.Fprintln(os.Stderr, "error: keep must be a positive number")
228 228
     os.Exit(5)
229 229
   }
230 230
 }

0 notes on commit adf0f08

Please sign in to comment.
Something went wrong with that request. Please try again.