projects
/
pxelator
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
08fac73
)
fixed kill
author
Dobrica Pavlinusic
<dpavlin@rot13.org>
Fri, 31 Jul 2009 17:41:19 +0000
(17:41 +0000)
committer
Dobrica Pavlinusic
<dpavlin@rot13.org>
Fri, 31 Jul 2009 17:41:19 +0000
(17:41 +0000)
lib/PXElator/httpd.pm
patch
|
blob
|
history
diff --git
a/lib/PXElator/httpd.pm
b/lib/PXElator/httpd.pm
index
de24be0
..
397d859
100644
(file)
--- a/
lib/PXElator/httpd.pm
+++ b/
lib/PXElator/httpd.pm
@@
-201,7
+201,7
@@
sub get_request {
print $client $redirect, start_stop($1);
} elsif ( $path =~ m{^/kill/static/(\d+)} ) {
print $client $redirect;
- kill
9, $1
&& warn "killed $1";
+ kill
1, $1 || kill 9, $2
&& warn "killed $1";
} elsif ( $path eq '/exit' ) {
# DESTROY;
exit 0;