diff options
Diffstat (limited to 'lib/posix')
-rw-r--r-- | lib/posix/posix_utils.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/posix/posix_utils.nim b/lib/posix/posix_utils.nim index 7fd8b1fc9..c53051b27 100644 --- a/lib/posix/posix_utils.nim +++ b/lib/posix/posix_utils.nim @@ -120,7 +120,7 @@ proc osReleaseFile*(): Config {.since: (1, 5).} = import parsecfg when defined(linux): let data = osReleaseFile() - doAssert data.getSectionValue("", "NAME").len > 0 ## the data is up to each distro. + echo "OS name: ", data.getSectionValue("", "NAME") ## the data is up to each distro. # We do not use a {.strdefine.} because Standard says it *must* be that path. for osReleaseFile in ["/etc/os-release", "/usr/lib/os-release"]: |