aboutsummaryrefslogtreecommitdiff
path: root/init.d
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2008-05-27 10:25:29 +0000
committerRoy Marples <roy@marples.name>2008-05-27 10:25:29 +0000
commit3a592fa31b2f51062d496378153e7e446f8246fc (patch)
treecde30f0bb6a756b9651ad749a32a7de53a503202 /init.d
parent6b77cc624fcdd920375f7305ae8197a6b8369815 (diff)
Trap fsck for SIGINT as well, so user can ctrl-C to abort fsck and continue, Gentoo #223473.
Diffstat (limited to 'init.d')
-rw-r--r--init.d/fsck.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/init.d/fsck.in b/init.d/fsck.in
index e8a65814..07cd8f38 100644
--- a/init.d/fsck.in
+++ b/init.d/fsck.in
@@ -63,7 +63,7 @@ start()
reboot_opts="-f"
fi
- trap : QUIT
+ trap : INT QUIT
fsck ${fsck_args--p} ${fsck_opts} "$@"
case $? in
0) eend 0; return 0;;