fix inert functionality pt5

This commit is contained in:
c0repwn3r 2023-07-12 12:02:31 -04:00
parent 5669185153
commit 4b53d41b90
Signed by: core
GPG Key ID: FDBF740DADDCEECF
1 changed files with 1 additions and 3 deletions

View File

@ -9,8 +9,6 @@ use log::{debug, error, info};
use std::error::Error; use std::error::Error;
use std::fs; use std::fs;
use std::sync::mpsc::Receiver; use std::sync::mpsc::Receiver;
use nebula_ffi::NebulaInstance;
use crate::util::shutdown;
pub enum NebulaWorkerMessage { pub enum NebulaWorkerMessage {
Shutdown, Shutdown,
@ -44,7 +42,7 @@ fn insert_private_key(instance: &str) -> Result<(), Box<dyn Error>> {
} }
pub fn nebulaworker_main(_config: TFClientConfig, _instance: String, _transmitter: ThreadMessageSender, rx: Receiver<NebulaWorkerMessage>) { pub fn nebulaworker_main(_config: TFClientConfig, instance: String, _transmitter: ThreadMessageSender, rx: Receiver<NebulaWorkerMessage>) {
loop { loop {
match rx.recv() { match rx.recv() {
Ok(msg) => match msg { Ok(msg) => match msg {