in src/distro.rs [122:132]
fn get_all_recovery_partitions(cli_info: &CliInfo) -> String {
let custom_disk = helper::get_recovery_disk_path(cli_info);
let command = format!("sgdisk {custom_disk} -p | tail -n-5 | grep -E \"^ *[1,2,3,4,5,6]\" | grep -v EF02 | sed 's/[ ]\\+/ /g;s/^[ \t]*//' ");
match helper::run_fun(&command) {
Ok(partitions) => partitions,
Err(e) => {
error!("Error getting recover disk info. Something went wrong : {e}. ALAR is not able to proceed. Exiting.");
process::exit(1);
}
}
}