projects
/
fio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
84dd188
)
Exit with error on signal
author
Jens Axboe
<jaxboe@fusionio.com>
Thu, 5 May 2011 14:17:03 +0000
(08:17 -0600)
committer
Jens Axboe
<jaxboe@fusionio.com>
Thu, 5 May 2011 14:17:03 +0000
(08:17 -0600)
Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
fio.c
patch
|
blob
|
blame
|
history
diff --git
a/fio.c
b/fio.c
index a737a310df821b62978fc420a36968d7c64c8324..284e9f2e867583f963a1388917ec030d63157fce 100644
(file)
--- a/
fio.c
+++ b/
fio.c
@@
-126,6
+126,7
@@
static void sig_int(int sig)
if (threads) {
log_info("\nfio: terminating on signal %d\n", sig);
fflush(stdout);
+ exit_value = 128;
terminate_threads(TERMINATE_ALL);
}
}