diff options
author | Joey Hess <joey@kitenet.net> | 2013-06-02 15:01:58 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2013-06-02 15:01:58 -0400 |
commit | 16ca22c60af39cc06db62215a1ac12cd5ae7a3c5 (patch) | |
tree | cf3f0c6ea6297087cab68ca8317e85b64f57406c /Command | |
parent | 13aeb89e2a1a44c9404fef93cb3dcdced618285f (diff) |
avoid warnings when built with ghc 7.6
Diffstat (limited to 'Command')
-rw-r--r-- | Command/Add.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Command/Add.hs b/Command/Add.hs index 543d37136..fe1a6b13a 100644 --- a/Command/Add.hs +++ b/Command/Add.hs @@ -174,7 +174,7 @@ undo file key e = do liftIO $ nukeFile file catchAnnex (fromAnnex key file) tryharder logStatus key InfoMissing - throw e + throwAnnex e where -- fromAnnex could fail if the file ownership is weird tryharder :: IOException -> Annex () |