X-Git-Url: https://mop.ddnsfree.com/gitweb/?a=blobdiff_plain;f=web%2FObj%2Fauth.phh;h=fdebea7009717251bd11e21cec6c52c41bee5094;hb=d4946c548a47a8eb564ced365810be6d0583d814;hp=292ab0c0f7f7909d69e4ce670d9c45b1736320d4;hpb=a3885a63b7558381d0bc464a3f1c68311f1b2fea;p=brisk.git diff --git a/web/Obj/auth.phh b/web/Obj/auth.phh index 292ab0c..fdebea7 100644 --- a/web/Obj/auth.phh +++ b/web/Obj/auth.phh @@ -246,13 +246,11 @@ class Challenges { function lock_data() { if (($tok = @ftok(FTOK_PATH."/challenges", "B")) == -1) { - echo "FTOK FAILED"; - exit; + return (FALSE); } // echo "FTOK ".$tok."
"; if (($res = sem_get($tok)) == FALSE) { - echo "SEM_GET FAILED"; - exit; + return (FALSE); } if (sem_acquire($res)) { log_lock("LOCK challenges");