Skip to content

Commit

Permalink
lib BUGFIX handle all setup modules installed
Browse files Browse the repository at this point in the history
  • Loading branch information
michalvasko committed May 3, 2024
1 parent 2ec3af9 commit 13f04fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/np2_sr_setup.c
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ np2_sr_setup(const char *owner, const char *group, mode_t perm)
}

/* install modules */
if (sr_install_modules2(conn, mods, mod_count, ".", NULL, NULL, 0)) {
if (mod_count && sr_install_modules2(conn, mods, mod_count, ".", NULL, NULL, 0)) {
ERRMSG("Failed to install modules.");
rc = 1;
goto cleanup;
Expand Down

0 comments on commit 13f04fb

Please sign in to comment.