diff options
Diffstat (limited to 'git-annex.hs')
-rw-r--r-- | git-annex.hs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/git-annex.hs b/git-annex.hs index cdaa75434..17ce807af 100644 --- a/git-annex.hs +++ b/git-annex.hs @@ -9,6 +9,7 @@ import System.Environment (getArgs, getProgName) import System.FilePath +import Network.Socket (withSocketsDo) import qualified CmdLine.GitAnnex import qualified CmdLine.GitAnnexShell @@ -22,7 +23,7 @@ import Utility.Env #endif main :: IO () -main = do +main = withSocketsDo $ do ps <- getArgs run ps =<< getProgName where |