mirror of
https://github.com/philmmanjaro/alma.git
synced 2025-07-25 22:49:28 +02:00
No need to call sync
This commit is contained in:
parent
4914c017d4
commit
f08064f2ba
@ -46,9 +46,6 @@ pub enum ErrorKind {
|
||||
#[fail(display = "Bootloader error")]
|
||||
Bootloader,
|
||||
|
||||
#[fail(display = "Error calling sync")]
|
||||
Sync,
|
||||
|
||||
#[fail(display = "Error caused by the interactive mode")]
|
||||
Interactive,
|
||||
}
|
||||
|
@ -62,7 +62,6 @@ struct CreateCommand {
|
||||
|
||||
fn create(command: CreateCommand) -> Result<(), Error> {
|
||||
let sgdisk = Tool::find("sgdisk")?;
|
||||
let sync = Tool::find("sync")?;
|
||||
let pacstrap = Tool::find("pacstrap")?;
|
||||
let arch_chroot = Tool::find("arch-chroot")?;
|
||||
let genfstab = Tool::find("genfstab")?;
|
||||
@ -195,7 +194,6 @@ fn create(command: CreateCommand) -> Result<(), Error> {
|
||||
|
||||
info!("Unmounting filesystems");
|
||||
drop(mount_stack);
|
||||
sync.execute().run(ErrorKind::Sync)?;
|
||||
|
||||
Ok(())
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user