修改bug

pull/2/head
ibuler 2014-11-04 21:48:34 +08:00
parent c18290c667
commit 92188f1c77
2 changed files with 2 additions and 2 deletions

View File

@ -998,7 +998,7 @@ def killSession(request):
if pid:
pid = pid[0]
os.kill(pid.cpid, 9)
return HttpResponse('ok')

View File

@ -24,7 +24,7 @@
<td>{{ log.host }}</td>
<td><a href="#">监控</a></td>
<td><a href="/logHistory/?id={{ log.id }}" class="log_command">命令统计</a></td>
<td><a href="/killSession/?id={{ log.id }}}}">阻断</a> </td>
<td><a href="/killSession/?id={{ log.id }}">阻断</a> </td>
<td>{{ log.start_time|stamp2str }}</td>
<td>{{ log.end_time|stamp2str }}</td>
</tr>