about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorBen Morrison <ben@gbmor.dev>2019-08-30 12:54:40 -0400
committerBen Morrison <ben@gbmor.dev>2019-08-30 12:54:40 -0400
commite42a73688772f35cf0e97865c15e5bb10b4e2d2b (patch)
tree5ead256365248e525a6f397c8bad077feeb3e5f3
parentb278ba66fd7975249e0b90055cd5a46034b072b9 (diff)
downloadclinte-e42a73688772f35cf0e97865c15e5bb10b4e2d2b.tar.gz
redundant code removed
-rw-r--r--src/main.rs3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/main.rs b/src/main.rs
index 2ae609a..dd532a4 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -1,7 +1,6 @@
 use clap;
 use log::info;
 use std::io;
-use std::process;
 use std::time;
 use users;
 
@@ -40,8 +39,6 @@ fn main() {
     if arg_matches.subcommand_matches("post").is_some() {
         info!("New post...");
         post(&db);
-        list_matches(&db);
-        process::exit(0);
     }
 
     list_matches(&db);