diff options
author | Alice Frosi <afrosi@redhat.com> | 2023-02-21 13:21:33 +0100 |
---|---|---|
committer | Alice Frosi <afrosi@redhat.com> | 2023-02-21 13:28:09 +0100 |
commit | be0b13f553126297d7e15c2b969e5d1debe34894 (patch) | |
tree | 56645b5e780f736d8c3faa105c7bb93b567dac16 | |
parent | 6ad5dd9567d541ad9403354629f068fa37de32b9 (diff) | |
download | seitan-be0b13f553126297d7e15c2b969e5d1debe34894.tar seitan-be0b13f553126297d7e15c2b969e5d1debe34894.tar.gz seitan-be0b13f553126297d7e15c2b969e5d1debe34894.tar.bz2 seitan-be0b13f553126297d7e15c2b969e5d1debe34894.tar.lz seitan-be0b13f553126297d7e15c2b969e5d1debe34894.tar.xz seitan-be0b13f553126297d7e15c2b969e5d1debe34894.tar.zst seitan-be0b13f553126297d7e15c2b969e5d1debe34894.zip |
action: return error for act_call
-rw-r--r-- | actions.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -186,9 +186,9 @@ int do_actions(void *data, struct action actions[], unsigned int n_actions, int return -1; } if (c.err != 0) { - resp.error = c.err; + resp.error = -1; if (send_target(&resp, notifyfd) == -1) - return -1; + return c.err; } /* * The result of the call needs to be save as |