소스 검색

minerd: Exit after --boost

x 9 달 전
부모
커밋
b94f4afc79
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      bin/minerd/src/main.rs

+ 1 - 0
bin/minerd/src/main.rs

@@ -187,6 +187,7 @@ async fn realmain(args: Args, ex: ExecutorPtr) -> Result<()> {
         //       an array of specific cpus/threads to use.
         let threads = CpuThreads::new(args.threads, 1);
         rxmsr.init(args.cache_qos, threads.threads(), true);
+        return Ok(())
     }
 
     // Run system hashrate benchmark if requested