[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Debian JP master SVN www commits (rev.558)



=======================================================
Repository: /org/svn.debian.or.jp/repos
  Revision: 558
  Commiter: yasu
      Date: 2008-02-05 20:53:14 +0900 (火, 05  2月 2008)
=======================================================
Log:

small chenge for Process::UID:Module

=======================================================
Changed:

U   cdn/trunk/DNS-Balance/dns_balance.rb

Modified: cdn/trunk/DNS-Balance/dns_balance.rb
===================================================================
--- cdn/trunk/DNS-Balance/dns_balance.rb	2008-02-05 11:40:21 UTC (rev 557)
+++ cdn/trunk/DNS-Balance/dns_balance.rb	2008-02-05 11:53:14 UTC (rev 558)
@@ -278,8 +278,12 @@
   else
     gs.bind(sockaddr, Service::Domain)
   end
-  Process::UID.eid=65534
-
+  begin
+    Process::UID.eid=65534
+  rescue
+    puts $!
+    puts "run by uid #{Process.euid}"
+  end
   #
   # メインループ
   #