on master help sign in
fix critical oversight in graphExpr processing
commitbe6f7e4c21857a89a260b6327bb80336ddc20342 authorAgentM <agentm@themactionfaction.com> dateMon 12 Jun 2017, 00:38 (9 years ago) parent779dcd5
1 file changed+1−1
src/lib/ProjectM36/Client.hs+1−1
src/lib/ProjectM36/Client.hs+1−1
@@ -614,7 +614,7 @@ executeGraphExpr sessionId (InProcessConnection conf) graphExpr = excMaybe $ do
614614 mLockFileH = ipLocks conf
615615 lockHandler body = case graphExpr of
616616 Commit -> case mLockFileH of
617− Nothing -> pure Nothing
617+ Nothing -> body False
618618 Just (lockFileH, lockMVar) -> let acquireLocks = do
619619 lastWrittenDigest <- takeMVar lockMVar
620620 lockFile lockFileH WriteLock