fix build on windows
This commit is contained in:
parent
b219be5100
commit
00be07070c
1 changed files with 5 additions and 1 deletions
|
@ -163,6 +163,10 @@ runLocal runmode runner a = case a of
|
|||
torSocketFile :: Annex (Maybe FilePath)
|
||||
torSocketFile = do
|
||||
u <- getUUID
|
||||
uid <- liftIO getRealUserID
|
||||
let ident = fromUUID u
|
||||
#ifndef mingw32_HOST_OS
|
||||
uid <- liftIO getRealUserID
|
||||
#else
|
||||
let uid = 0
|
||||
#endif
|
||||
liftIO $ getHiddenServiceSocketFile torAppName uid ident
|
||||
|
|
Loading…
Add table
Reference in a new issue