Fix SIGINT handling.
This commit is contained in:
parent
694a33e91b
commit
fde01e52f3
3 changed files with 3 additions and 3 deletions
|
@ -19,7 +19,6 @@ import System.IO
|
||||||
import System.Cmd
|
import System.Cmd
|
||||||
import System.Exit
|
import System.Exit
|
||||||
import System.Posix.Signals
|
import System.Posix.Signals
|
||||||
import Data.Typeable
|
|
||||||
import System.Posix.IO
|
import System.Posix.IO
|
||||||
import Data.String.Utils
|
import Data.String.Utils
|
||||||
import System.Path
|
import System.Path
|
||||||
|
@ -110,7 +109,7 @@ boolSystem command params = do
|
||||||
r <- rawSystem command params
|
r <- rawSystem command params
|
||||||
case r of
|
case r of
|
||||||
ExitSuccess -> return True
|
ExitSuccess -> return True
|
||||||
ExitFailure e -> if Just e == cast sigINT
|
ExitFailure e -> if toInteger e == toInteger sigINT
|
||||||
then error $ command ++ "interrupted"
|
then error $ command ++ "interrupted"
|
||||||
else return False
|
else return False
|
||||||
|
|
||||||
|
|
1
debian/changelog
vendored
1
debian/changelog
vendored
|
@ -2,6 +2,7 @@ git-annex (0.03) UNRELEASED; urgency=low
|
||||||
|
|
||||||
* Fix support for file:// remotes.
|
* Fix support for file:// remotes.
|
||||||
* Add --verbose
|
* Add --verbose
|
||||||
|
* Fix SIGINT handling.
|
||||||
|
|
||||||
-- Joey Hess <joeyh@debian.org> Thu, 28 Oct 2010 13:46:59 -0400
|
-- Joey Hess <joeyh@debian.org> Thu, 28 Oct 2010 13:46:59 -0400
|
||||||
|
|
||||||
|
|
|
@ -1,2 +1,2 @@
|
||||||
When getting a file with scp, SIGINT is blocked, exposing the git
|
When getting a file with scp, SIGINT is blocked, exposing the git
|
||||||
subcommand fork to background bug again.
|
subcommand fork to background bug again. [[done]]
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue