From 1261e25c4b20498e9b51254b224d047228958c36 Mon Sep 17 00:00:00 2001 From: Aleksey Lim Date: Mon, 25 Feb 2013 09:42:26 +0000 Subject: XXX For some reason $? does not have :exitstatus --- diff --git a/script/git-daemon b/script/git-daemon index b90662e..6cabfee 100755 --- a/script/git-daemon +++ b/script/git-daemon @@ -195,7 +195,7 @@ module Git if pid && $? $children_reaped += 1 - log(pid, "Disconnected. (status=#{$?.exitstatus})") if pid > 0 && $?.respond_to?(:exitstatus) + log(pid, "Disconnected.") if pid > 0 if $children_reaped == $children_active $children_reaped = 0 $children_active = 0 -- cgit v0.9.1