change log message in files.rs

axtloss/rework-partitioning
amy 3 years ago
parent caff22cb3e
commit 231d649878

@ -6,7 +6,7 @@ pub fn create_file(path: &str) {
let returncode = File::create(path);
match returncode {
Ok(_) => {
log(format!("Create {}: Sucess", path));
log(format!("[ \x1b[2;1;32mOK\x1b[0m ] Create {}", path));
}
Err(e) => {
crash(format!("Create {}: Failed with error {}", path, e), 1);

Loading…
Cancel
Save