diff options
-rw-r--r-- | src/rmd_register_callbacks.c | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/src/rmd_register_callbacks.c b/src/rmd_register_callbacks.c index a359297..5ef8596 100644 --- a/src/rmd_register_callbacks.c +++ b/src/rmd_register_callbacks.c @@ -47,14 +47,10 @@ static void rmdSetPaused(int signum) static void rmdSetRunning(int signum) { - if (!*pdata_paused) { + *pdata_running = FALSE; - *pdata_running = FALSE; - - if (signum == SIGABRT) { - *pdata_aborted = TRUE; - } - } + if (signum == SIGABRT) + *pdata_aborted = TRUE; } void rmdRegisterCallbacks(ProgData *pdata) |