about summary refs log tree commit homepage
path: root/t/bin/unused_listen
diff options
authorEric Wong <e@80x24.org>2018-05-18 06:27:05 +0000
committerEric Wong <e@80x24.org>2019-01-02 21:40:46 +0000
commit229286be544e76771d2a64637b3c692e51cbd878 (patch)
treea29be86e137e4619030fb19cdcaad1b60391c386 /t/bin/unused_listen
parentde313da55531438b73c8cb54663ce0f8ab880465 (diff)
Ruby trunk started warning about more mismatched indentations
starting around r62836.
Diffstat (limited to 't/bin/unused_listen')
1 files changed, 1 insertions, 1 deletions
diff --git a/t/bin/unused_listen b/t/bin/unused_listen
index b638f54..8cce645 100755
--- a/t/bin/unused_listen
+++ b/t/bin/unused_listen
@@ -31,7 +31,7 @@ begin
   # when running tests in parallel with gmake.  Create a lock file while
   # we have the port here to ensure that does not happen.
   lock_path = "#{Dir::tmpdir}/unicorn_test.#{addr}:#{port}.lock"
-  lock = File.open(lock_path, File::WRONLY|File::CREAT|File::EXCL, 0600)
+  File.open(lock_path, File::WRONLY|File::CREAT|File::EXCL, 0600)
 rescue Errno::EEXIST
   sock.close rescue nil