From d20c0b2922a0eabf384f90025bfe2b4077e52a2c Mon Sep 17 00:00:00 2001 From: TheTroll Date: Sat, 27 Feb 2010 18:29:52 +0100 Subject: Fixed find --- streamstatus.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'streamstatus.php') diff --git a/streamstatus.php b/streamstatus.php index baf515f..38e20c9 100755 --- a/streamstatus.php +++ b/streamstatus.php @@ -11,7 +11,7 @@ echo "\n"; echo "\n"; // First check that we are allowed to create a new encoding process -$nbencprocess = exec("find ram/ -name segmenter.pid | wc | awk '{ print $1 }'"); +$nbencprocess = exec("find .. -name segmenter.pid | wc | awk '{ print $1 }'"); if ($nbencprocess > $maxencodingprocesses) echo "errorError: maximun number of sessions reached\n"; else -- cgit v1.2.3