diff options
author | TheTroll <trolldev@gmail.com> | 2010-02-27 18:29:52 +0100 |
---|---|---|
committer | TheTroll <trolldev@gmail.com> | 2010-02-27 18:29:52 +0100 |
commit | d20c0b2922a0eabf384f90025bfe2b4077e52a2c (patch) | |
tree | 4bf4900e3714b7b7ca39b6c9c5cdf5a9fa8282d2 | |
parent | a9e31e70ebf61264b548d7607a9621972eefe3ee (diff) | |
download | istreamdev-d20c0b2922a0eabf384f90025bfe2b4077e52a2c.tar.gz istreamdev-d20c0b2922a0eabf384f90025bfe2b4077e52a2c.tar.bz2 |
Fixed find
-rwxr-xr-x | streamstatus.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/streamstatus.php b/streamstatus.php index baf515f..38e20c9 100755 --- a/streamstatus.php +++ b/streamstatus.php @@ -11,7 +11,7 @@ echo "<?xml version=\"1.0\"?>\n"; echo "<status>\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 "<streamstatus>error</streamstatus><message>Error: maximun number of sessions reached</message>\n"; else |