Browse Source

Update plugin.c

Launch plugin with NULL params gives plugin to run in both plugin mode & cli mode.

See https://github.com/cbeuw/GoQuiet/issues/15
pull/1985/head
Kim 7 years ago
committed by GitHub
parent
commit
d61b8f0c33
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions
  1. 2
      src/plugin.c

2
src/plugin.c

@ -110,7 +110,7 @@ start_ss_plugin(const char *plugin,
if (plugin_opts != NULL)
cork_env_add(env, "SS_PLUGIN_OPTIONS", plugin_opts);
exec = cork_exec_new(plugin);
exec = cork_exec_new_with_params(plugin, NULL);
cork_exec_set_env(exec, env);

Loading…
Cancel
Save