diff options
Diffstat (limited to 'jstests/libs')
-rw-r--r-- | jstests/libs/host_ipaddr.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/jstests/libs/host_ipaddr.js b/jstests/libs/host_ipaddr.js index d0c191f8ef2..5ff84b0dd2d 100644 --- a/jstests/libs/host_ipaddr.js +++ b/jstests/libs/host_ipaddr.js @@ -13,7 +13,7 @@ function get_ipaddr() { } catch (err) { } - var ipFile = path + "ipaddr.log"; + var ipFile = path + "ipaddr-" + Random.srand() + ".log"; var windowsCmd = "ipconfig > " + ipFile; var unixCmd = "/sbin/ifconfig | grep inet | grep -v '127.0.0.1' > " + ipFile; var ipAddr = null; |