mirror of
https://github.com/systemd/systemd-stable.git
synced 2025-01-11 05:17:44 +03:00
Print the systemd version in a format that dracut likes
- systemd 240-63-g4199f68+ + systemd 240 (240-63-g4199f68+) Sad, but easy. Fixes #11330.
This commit is contained in:
parent
2004fce186
commit
f1028f5766
@ -557,7 +557,7 @@ uint64_t system_tasks_max_scale(uint64_t v, uint64_t max) {
|
||||
}
|
||||
|
||||
int version(void) {
|
||||
puts("systemd " GIT_VERSION "\n"
|
||||
puts("systemd " STRINGIFY(PROJECT_VERSION) " (" GIT_VERSION ")\n"
|
||||
SYSTEMD_FEATURES);
|
||||
return 0;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user