Skip to content

Commit

Permalink
Merge pull request #354 from xcp-ng/parse-lsbrelease-version
Browse files Browse the repository at this point in the history
Linux/lsb_release: parse version string (#318)
  • Loading branch information
stanislav-tkach authored Nov 24, 2023
2 parents 8de3030 + da0f59f commit 13df8d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion os_info/src/linux/lsb_release.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ pub fn get() -> Option<Info> {

let version = match release.version.as_deref() {
Some("rolling") => Version::Rolling(None),
Some(v) => Version::Custom(v.to_owned()),
Some(v) => Version::from_string(v.to_owned()),
None => Version::Unknown,
};

Expand Down

0 comments on commit 13df8d7

Please sign in to comment.