summaryrefslogtreecommitdiffstats
path: root/notFinishedCode/web/mutex1.php
diff options
context:
space:
mode:
Diffstat (limited to 'notFinishedCode/web/mutex1.php')
-rw-r--r--notFinishedCode/web/mutex1.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/notFinishedCode/web/mutex1.php b/notFinishedCode/web/mutex1.php
index 7a92fe0..7d7c14a 100644
--- a/notFinishedCode/web/mutex1.php
+++ b/notFinishedCode/web/mutex1.php
@@ -49,7 +49,7 @@ if ($locking == '1') //1 means nobody is on the website
if($softwareRunning == '1') //1 means software is not started yet, start it
{
- exec("/usr/bin/python /var/www/server1.py > /dev/null 2>&1 &"); //start the software in background and don't wait for any output
+ exec("/usr/bin/python /var/www/server1.py > /dev/null2>&1 &"); //start the software in background and don't wait for any output
sleep(1); //sleep half second till the software starts
//the software should be running already and set the lock, now we test it and then connect to it!