Skip to content

Commit

Permalink
fix default bind path
Browse files Browse the repository at this point in the history
  • Loading branch information
AlkenePan committed Sep 27, 2022
1 parent 61dd142 commit 687f614
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rasp/librasp/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -48,11 +48,11 @@ fn main() -> anyhow::Result<()> {
let process_id = parse_arg();
let ctrl = Control::new();
let (result_sender, result_receiver) = unbounded();

let current_dir = librasp::settings::RASP_BASE_DIR();
let mut rasp_manager = RASPManager::init(
"thread", "debug".to_string(),
ctrl.clone(), result_sender.clone(),
"./smith_agent.sock".to_string(), Some(String::from("/var/run/smith_agent.sock")),
format!("{}/smith_agent.sock", current_dir), Some(String::from("/var/run/smith_agent.sock")),
)?;
let mut process_info = ProcessInfo::from_pid(process_id)?;
match rasp_manager.inspect(&mut process_info) {
Expand Down

0 comments on commit 687f614

Please sign in to comment.