Always display the I/O plugin version as long as its open functions
doesn't return an error. Previously it was only displayed if the plugin open returned 1.
This commit is contained in:
@@ -219,7 +219,7 @@ main(int argc, char *argv[], char *envp[])
|
||||
tq_foreach_fwd(&io_plugins, plugin) {
|
||||
ok = iolog_open(plugin, settings, user_info, NULL,
|
||||
nargc, nargv, envp);
|
||||
if (ok == 1)
|
||||
if (ok != -1)
|
||||
iolog_show_version(plugin, !user_details.uid);
|
||||
}
|
||||
break;
|
||||
|
Reference in New Issue
Block a user