summaryrefslogtreecommitdiff
path: root/GitRepo.hs
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2010-10-19 01:19:56 -0400
committerGravatar Joey Hess <joey@kitenet.net>2010-10-19 01:19:56 -0400
commitc7664588f81fe27b3e88d49523ef3c483ac6481a (patch)
treee0cc5dc2f24773a5076f973af38f01ef47f29003 /GitRepo.hs
parent15986f01d1fd565da151dcb08697e21a94fc9037 (diff)
use safesystem
Diffstat (limited to 'GitRepo.hs')
-rw-r--r--GitRepo.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/GitRepo.hs b/GitRepo.hs
index 32383197b..5b0e68cd6 100644
--- a/GitRepo.hs
+++ b/GitRepo.hs
@@ -167,7 +167,7 @@ gitCommandLine repo params = assertlocal repo $
{- Runs git in the specified repo. -}
run :: Repo -> [String] -> IO ()
run repo params = assertlocal repo $ do
- r <- rawSystem "git" (gitCommandLine repo params)
+ r <- safeSystem "git" (gitCommandLine repo params)
return ()
{- Runs a git subcommand and returns its output. -}