Fix style inconsistencies due to the previous commit

This commit is contained in:
narimiran 2020-07-06 11:24:43 +02:00
commit 46aacf917f
10 changed files with 85 additions and 85 deletions

View file

@ -23,8 +23,8 @@ var
proc getMachine*(): MachineId =
var name = execProcess("hostname").string.strip
if name.len == 0:
name = when defined(posix): getenv("HOSTNAME").string
else: getenv("COMPUTERNAME").string
name = when defined(posix): getEnv("HOSTNAME").string
else: getEnv("COMPUTERNAME").string
if name.len == 0:
quit "cannot determine the machine name"