plugins/python/python_plugin_common: raise debug level for module import
This commit is contained in:

committed by
Todd C. Miller

parent
8eab169098
commit
5be81eb25b
@@ -83,7 +83,7 @@ _import_module(const char *path)
|
|||||||
{
|
{
|
||||||
debug_decl(_import_module, PYTHON_DEBUG_PLUGIN_LOAD);
|
debug_decl(_import_module, PYTHON_DEBUG_PLUGIN_LOAD);
|
||||||
|
|
||||||
sudo_debug_printf(SUDO_DEBUG_INFO, "importing module: %s\n", path);
|
sudo_debug_printf(SUDO_DEBUG_DIAG, "importing module: %s\n", path);
|
||||||
|
|
||||||
char path_copy[PATH_MAX];
|
char path_copy[PATH_MAX];
|
||||||
if (strlcpy(path_copy, path, sizeof(path_copy)) >= sizeof(path_copy))
|
if (strlcpy(path_copy, path, sizeof(path_copy)) >= sizeof(path_copy))
|
||||||
|
Reference in New Issue
Block a user