plugins/python: fix return value typo for the error case
This commit is contained in:

committed by
Todd C. Miller

parent
304a7fdc1f
commit
3128cc97ca
@@ -83,5 +83,5 @@ sudo_module_register_baseplugin(PyObject *py_module)
|
|||||||
|
|
||||||
cleanup:
|
cleanup:
|
||||||
Py_CLEAR(py_class);
|
Py_CLEAR(py_class);
|
||||||
debug_return_int(SUDO_RC_OK);
|
debug_return_int(rc);
|
||||||
}
|
}
|
||||||
|
@@ -113,7 +113,7 @@ sudo_module_register_conv_message(PyObject *py_module)
|
|||||||
|
|
||||||
cleanup:
|
cleanup:
|
||||||
Py_CLEAR(py_class);
|
Py_CLEAR(py_class);
|
||||||
debug_return_int(SUDO_RC_OK);
|
debug_return_int(rc);
|
||||||
}
|
}
|
||||||
|
|
||||||
int
|
int
|
||||||
|
Reference in New Issue
Block a user