git.annexia.org
/
libguestfs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fish: fix the Ctrl-\ causes guestfish to abort bug(RHBZ#596761)
[libguestfs.git]
/
fish
/
fish.c
diff --git
a/fish/fish.c
b/fish/fish.c
index
efd6b0b
..
b782b7c
100644
(file)
--- a/
fish/fish.c
+++ b/
fish/fish.c
@@
-402,6
+402,7
@@
main (int argc, char *argv[])
sa.sa_handler = user_cancel;
sa.sa_flags = SA_RESTART;
sigaction (SIGINT, &sa, NULL);
+ sigaction (SIGQUIT, &sa, NULL);
guestfs_set_pgroup (g, 1);
}