summaryrefslogtreecommitdiff
path: root/streamstatus.php
diff options
context:
space:
mode:
Diffstat (limited to 'streamstatus.php')
-rwxr-xr-xstreamstatus.php2
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