Skip to content
This repository has been archived by the owner on Mar 6, 2023. It is now read-only.

preflight: Fix detection of systemd version for systemd 240+ #93

Merged
merged 1 commit into from
Jul 23, 2019
Merged

preflight: Fix detection of systemd version for systemd 240+ #93

merged 1 commit into from
Jul 23, 2019

Conversation

0xFelix
Copy link
Contributor

@0xFelix 0xFelix commented Jul 15, 2019

systemd versions starting with 240 use a new string format for systemctl --version

See: systemd/systemd@f1028f5

This PR fixes the detection for systemd 240+ while retaining compatibility for older versions

Copy link
Member

@paulfantom paulfantom left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@0xFelix
Copy link
Contributor Author

0xFelix commented Jul 15, 2019

Changed the \s in the regexp to a space, should suffice

@paulfantom paulfantom merged commit 3c35452 into cloudalchemy:master Jul 23, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants