diff --git a/pentest_tool/src/cli.rs b/pentest_tool/src/cli.rs index c74814a..78bef2b 100644 --- a/pentest_tool/src/cli.rs +++ b/pentest_tool/src/cli.rs @@ -381,7 +381,8 @@ for help enter help or ?. for information about a specific command enter help (c let mut success_message = String::new(); project_conf_path.pop(); project_conf_path.push("projects.work"); - if project_conf_path.exists(){ + let worksapces_in_use = project_conf_path.exists(); + if worksapces_in_use{ if get_user_input("are your work projects currently loaded? (not yoru personal projects...)").to_lowercase().contains("y"){ workspace_config_path.push("projects.work"); success_message = String::from("projects.conf saved to projects.work"); @@ -420,4 +421,10 @@ for help enter help or ?. for information about a specific command enter help (c let _ = thread.join(); } } + if worksapces_in_use{ + print_success("projects saved to projects.conf, workspace project updated, threads finished. pentest_tool OUT!"); + } + else{ + print_success("projects saved to projects.conf, threads finished. pentest_tool OUT!"); + } } \ No newline at end of file