variable name

This commit is contained in:
Joey Hess 2024-07-22 16:50:11 -04:00
parent 8a48d08abd
commit 10682eb882
No known key found for this signature in database
GPG key ID: DB12DB0FF05F8F38

View file

@ -885,8 +885,8 @@ clientKeepLocked clientenv (ProtocolVersion ver) lckid cu su bypass keeplocked =
S.Yield (UnlockRequest False) $ S.Effect $ do
liftIO $ print "sent keep locked request"
return $ S.Effect $ do
stilllock <- liftIO $ atomically $ takeTMVar keeplocked
if stilllock
stilllocked <- liftIO $ atomically $ takeTMVar keeplocked
if stilllocked
then return unlocksender
else do
liftIO $ print "sending unlock request"