summaryrefslogtreecommitdiffstats
path: root/action.c
diff options
context:
space:
mode:
Diffstat (limited to 'action.c')
-rw-r--r--action.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/action.c b/action.c
index e8409bfa..5095993a 100644
--- a/action.c
+++ b/action.c
@@ -405,7 +405,10 @@ actionCallDoAction(action_t *pAction, msg_t *pMsg)
/* first check if we are suspended and, if so, retry */
if(actionIsSuspended(pAction)) {
iRet = actionTryResume(pAction);
- bCallAction = 0;
+ if(iRet == RS_RET_OK)
+ bCallAction = 1;
+ else
+ bCallAction = 0;
} else {
bCallAction = 1;
}