fix --no-url-call not working; close
@@ -109,11 +109,13 @@ char* gen_parseResponse(char* res, const struct arguments* arguments) {
no_statelookup = 1;
}
secFree(redirect_uri);
+ if (!arguments->noUrlCall) {
char* cmd = oidc_sprintf(URL_OPENER " \"%s\"", _uri);
if (system(cmd) != 0) {
logger(NOTICE, "Cannot open url");
}
secFree(cmd);
+ }
if (no_statelookup) {
exit(EXIT_SUCCESS);
}
