Luther Blissett 3 лет назад
Родитель
Сommit
e53f17c114
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      bin/tau/taud/src/main.rs

+ 1 - 1
bin/tau/taud/src/main.rs

@@ -149,7 +149,7 @@ async fn realmain(settings: Args, executor: Arc<Executor<'_>>) -> Result<()> {
     if settings.refresh {
         println!("Removing local data in: {:?} (yes/no)? ", datastore_path);
         let mut confirm = String::new();
-        stdin().read_line(&mut confirm).ok().expect("Failed to read line");
+        stdin().read_line(&mut confirm).expect("Failed to read line");
 
         let confirm = confirm.to_lowercase();
         let confirm = confirm.trim();