Don't trust the plugin
This commit is contained in:
parent
31a9682c98
commit
7de9a73841
@ -153,6 +153,9 @@ void rc_plugin_run (rc_hook_t hook, const char *value)
|
|||||||
retval = plugin->hook (hook, value);
|
retval = plugin->hook (hook, value);
|
||||||
fclose (rc_environ_fd);
|
fclose (rc_environ_fd);
|
||||||
rc_environ_fd = NULL;
|
rc_environ_fd = NULL;
|
||||||
|
|
||||||
|
/* Just in case the plugin sets this to false */
|
||||||
|
rc_in_plugin = true;
|
||||||
exit (retval);
|
exit (retval);
|
||||||
} else {
|
} else {
|
||||||
char buffer[RC_LINEBUFFER];
|
char buffer[RC_LINEBUFFER];
|
||||||
|
Loading…
Reference in New Issue
Block a user