diff options
author | Roy Marples <roy@marples.name> | 2007-07-05 08:39:32 +0000 |
---|---|---|
committer | Roy Marples <roy@marples.name> | 2007-07-05 08:39:32 +0000 |
commit | 7de9a73841419d0c36f9cf3b69f64de47babf61f (patch) | |
tree | db7c00891da0fc2c8691135092f3bbd5584bd534 /src | |
parent | 31a9682c98005b4c8f37c37fb7bd50fad21b7115 (diff) |
Don't trust the plugin
Diffstat (limited to 'src')
-rw-r--r-- | src/rc-plugin.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/rc-plugin.c b/src/rc-plugin.c index a408b5a1..6a82c22a 100644 --- a/src/rc-plugin.c +++ b/src/rc-plugin.c @@ -153,6 +153,9 @@ void rc_plugin_run (rc_hook_t hook, const char *value) retval = plugin->hook (hook, value); fclose (rc_environ_fd); rc_environ_fd = NULL; + + /* Just in case the plugin sets this to false */ + rc_in_plugin = true; exit (retval); } else { char buffer[RC_LINEBUFFER]; |