aboutsummaryrefslogtreecommitdiff
path: root/src/server/autodetect.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/server/autodetect.rs')
-rw-r--r--src/server/autodetect.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/autodetect.rs b/src/server/autodetect.rs
index c012aa03..a4ea721b 100644
--- a/src/server/autodetect.rs
+++ b/src/server/autodetect.rs
@@ -103,7 +103,7 @@ fn validate_running_server_compatibility() -> io::Result<()> {
.protocol
.map(|value| value.to_string())
.unwrap_or_else(|| "unknown".to_string()),
- env!("CARGO_PKG_VERSION"),
+ crate::build_info::version(),
crate::protocol::PROTOCOL_VERSION,
crate::session::active_restart_after_update_guidance()
)))