Skip to content
Snippets Groups Projects
Verified Commit 898f9d8b authored by Jeremy Soller's avatar Jeremy Soller
Browse files

redoxfs-ar: require disk to exist

parent 9fc80c8b
No related branches found
No related tags found
No related merge requests found
......@@ -32,7 +32,7 @@ fn main() {
let bootloader_path_opt = args.next();
let disk = match DiskSparse::create(&disk_path, 1024 * 1024 * 1024 /*TODO: make argument*/) {
let disk = match DiskFile::open(&disk_path) {
Ok(disk) => disk,
Err(err) => {
println!("redoxfs-ar: failed to open image {}: {}", disk_path, err);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment