Skip to main content

parse_systemd_version

Function parse_systemd_version 

Source
fn parse_systemd_version(output: &str) -> Result<u32>
Expand description

Parse the systemd major version from bootctl --version output, whose first line looks like systemd 259 (259.5-0ubuntu3).