Commit 92188f1c authored by ibuler's avatar ibuler

修改bug

parent c18290c6
......@@ -998,7 +998,7 @@ def killSession(request):
if pid:
pid = pid[0]
os.kill(pid.cpid, 9)
return HttpResponse('ok')
......
......@@ -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>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment