Skip to content

Commit

Permalink
Adds argv printing
Browse files Browse the repository at this point in the history
  • Loading branch information
ilumsden committed Nov 26, 2023
1 parent 2c2fff3 commit 7ed8d60
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/modules/dyad.c
Original file line number Diff line number Diff line change
Expand Up @@ -270,12 +270,17 @@ DYAD_DLL_EXPORTED int mod_main (flux_t *h, int argc, char **argv)
const char *optargp = NULL;
int optindex = 0;
optparse_t *opts = NULL;
int i = 0;

if (!h) {
fprintf (stderr, "Failed to get flux handle\n");
goto mod_done;
}

for (i = 0; i < argc; i++) {
FLUX_LOG_INFO (h, "argv[%d] = %s", i, argv[i]);
}

FLUX_LOG_INFO (h, "Getting context from AUX");
ctx = getctx (h);

Expand Down

0 comments on commit 7ed8d60

Please sign in to comment.