plugins/python: fix return value typo for the error case

This commit is contained in:
Robert Manner
2020-01-22 14:22:37 +01:00
committed by Todd C. Miller
parent 304a7fdc1f
commit 3128cc97ca
2 changed files with 2 additions and 2 deletions

View File

@@ -83,5 +83,5 @@ sudo_module_register_baseplugin(PyObject *py_module)
cleanup:
Py_CLEAR(py_class);
debug_return_int(SUDO_RC_OK);
debug_return_int(rc);
}

View File

@@ -113,7 +113,7 @@ sudo_module_register_conv_message(PyObject *py_module)
cleanup:
Py_CLEAR(py_class);
debug_return_int(SUDO_RC_OK);
debug_return_int(rc);
}
int