info: ipc_action: merge 2 if statements