diff options
Diffstat (limited to 'sd.go')
-rw-r--r-- | sd.go | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -7,6 +7,7 @@ import ( "math/rand" "os" "os/exec" + "time" _ "modernc.org/sqlite" ) @@ -17,6 +18,11 @@ var ( ) func main() { + if !*verbose { + // Seed the RNG + rand.Seed(time.Now().UnixNano()) + } + flag.Parse() db, err := sql.Open("sqlite", *file) |