diff options
Diffstat (limited to 'lib/spack/llnl/util/lock.py')
-rw-r--r-- | lib/spack/llnl/util/lock.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/spack/llnl/util/lock.py b/lib/spack/llnl/util/lock.py index 968e07dbb6..bd3308a57f 100644 --- a/lib/spack/llnl/util/lock.py +++ b/lib/spack/llnl/util/lock.py @@ -264,7 +264,7 @@ class Lock(object): self.old_host = self.host self.pid = os.getpid() - self.host = socket.getfqdn() + self.host = socket.gethostname() # write pid, host to disk to sync over FS self._file.seek(0) |