6059d38f21
We're looking for a specific prefix, so remove the prefix instead. Also remove redundant error-wrapping, as `os.Open()` already provides details in the error returned; open /no/such/file: no such file or directory open /etc/os-release: permission denied Signed-off-by: Sebastiaan van Stijn <github@gone.nl> |
||
---|---|---|
.. | ||
operatingsystem_linux.go | ||
operatingsystem_linux_test.go | ||
operatingsystem_unix.go | ||
operatingsystem_windows.go | ||
windows_os_string.go | ||
windows_os_string_test.go |