From cad23e79772381bf595c4de4b4449f04f4761b8a Mon Sep 17 00:00:00 2001 From: HD Moore Date: Tue, 22 Jan 2008 05:24:08 +0000 Subject: [PATCH] Closer git-svn-id: file:///home/svn/framework3/trunk@5316 4d416f70-5f16-0410-b530-b9f4589650da --- lib/rex/compat.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/rex/compat.rb b/lib/rex/compat.rb index 9125e705db..11a68957cc 100644 --- a/lib/rex/compat.rb +++ b/lib/rex/compat.rb @@ -183,7 +183,8 @@ def self.win32_dev_null 0 ) - hnd + p hnd + hnd[0] rescue ::Exception raise $!