提交 fdbd63ef 编写于 作者: S Simon Fels 提交者: GitHub

Merge pull request #245 from morphis/f/print-snap-revision

Print snap revision if running inside a snap
......@@ -53,6 +53,12 @@ class SystemInformation {
<< anbox::build::print_version()
<< std::endl;
if (anbox::utils::is_env_set("SNAP_REVISION")) {
s << "snap-revision: "
<< anbox::utils::get_env_value("SNAP_REVISION")
<< std::endl;
}
s << "os:" << std::endl
<< " name: " << os_info_.name << std::endl
<< " version: " << os_info_.version << std::endl
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册