added final success message
This commit is contained in:
@@ -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!");
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user