aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--multiwatch.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/multiwatch.c b/multiwatch.c
index 30dcb97..1dcdf2e 100644
--- a/multiwatch.c
+++ b/multiwatch.c
@@ -94,7 +94,7 @@ static gint signame2num(const char *name) {
for (i = 0; signal_actions[i].signame; i++) {
if (0 == strcmp(signal_actions[i].signame, name)) {
- return i;
+ return signal_actions[i].signum;
}
}