aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sd.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/sd.go b/sd.go
index 4470b28..eb9e9fc 100644
--- a/sd.go
+++ b/sd.go
@@ -22,7 +22,7 @@ func main() {
// Seed the RNG
rand.Seed(time.Now().UnixNano())
}
-
+
flag.Parse()
db, err := sql.Open("sqlite", *file)
@@ -84,7 +84,7 @@ func main() {
} else if b[0] == byte('n') {
w <<= 1
} else {
- os.Exit(0)
+ return
}
// Update segment tree and database