Skip to main content

execute_block

Function execute_block 

Source
pub fn execute_block(
    ip: IpAddr,
    sudo_password: Option<&str>,
) -> Result<(), String>
Expand description

Execute the block command. Requires sudo. Returns Ok(()) on success, Err with message on failure.