diff options
author | Aleksey Lim <alsroot@sugarlabs.org> | 2013-02-25 09:42:26 (GMT) |
---|---|---|
committer | Aleksey Lim <alsroot@sugarlabs.org> | 2013-02-25 09:42:26 (GMT) |
commit | 1261e25c4b20498e9b51254b224d047228958c36 (patch) | |
tree | 875250411fc12179eb5a2c74acaa72f9013182dd | |
parent | a5e35540bb05710c3a44deaad5332eb9b4b1f0c8 (diff) |
XXX For some reason $? does not have :exitstatus
-rwxr-xr-x | script/git-daemon | 2 |
1 files changed, 1 insertions, 1 deletions
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 |