From 569e0172c07ef9a1c69fbc17004d079f44565ee1 Mon Sep 17 00:00:00 2001 From: Antoine Durand-Gasselin Date: Thu, 23 Jul 2009 01:28:41 +0200 Subject: [PATCH] =?UTF-8?q?[kill=5Fcnpkmodule]=20pour=20la=20compatibilit?= =?UTF-8?q?=C3=A9=20avec=20etch?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit on laisse volontairement le code obscur darcs-hash:20090722232841-bd074-f2c035f562f0b8cb622ec5287ebbb7c6423e465d.gz --- impression/kill_cnpkmodule | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/impression/kill_cnpkmodule b/impression/kill_cnpkmodule index ee27cec4..618f54bd 100755 --- a/impression/kill_cnpkmodule +++ b/impression/kill_cnpkmodule @@ -1,2 +1,2 @@ #!/bin/sh -ps aux | grep cnpkmodule | perl -nle '/[^\s]*\s*(\d*)\s*([^\s]*\s*){7}(?\d*)/; if ($+{a} > 60) {kill $1; print "cnpkmodule was killed"}' +ps aux | grep cnpkmodule | perl -nle '/[^\s]*\s*(\d*)\s*([^\s]*\s*){7}(\d*)/; if ($3 > 60) {kill $1; print "cnpkmodule was killed"}'