Skip to content
Snippets Groups Projects
Commit ed223bbe authored by Danny Auble's avatar Danny Auble
Browse files

simpler code

parent dad8bd76
No related branches found
No related tags found
No related merge requests found
......@@ -525,9 +525,9 @@ static sacctmgr_file_opts_t *_parse_options(char *options)
if (!file_opts->name) {
exit_code=1;
fprintf(stderr, " No name given\n");
_destroy_sacctmgr_file_opts(file_opts);
file_opts = NULL;
} else if (exit_code) {
}
if (exit_code) {
_destroy_sacctmgr_file_opts(file_opts);
file_opts = NULL;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment