summaryrefslogtreecommitdiffstats
path: root/src/modules/erlang.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/erlang.rs')
-rw-r--r--src/modules/erlang.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/erlang.rs b/src/modules/erlang.rs
index 3670870c0..60617c337 100644
--- a/src/modules/erlang.rs
+++ b/src/modules/erlang.rs
@@ -57,10 +57,10 @@ fn get_erlang_version() -> Option<String> {
&[
"-noshell",
"-eval",
- "Fn=filename:join([code:root_dir(),\"releases\",erlang:system_info(otp_release),\"OTP_VERSION\"]),\
+ "'Fn=filename:join([code:root_dir(),\"releases\",erlang:system_info(otp_release),\"OTP_VERSION\"]),\
{ok,Content}=file:read_file(Fn),\
io:format(\"~s\",[Content]),\
- halt(0)."
+ halt(0).'"
]
)?.stdout.trim().to_string())
}