Skip to content
Snippets Groups Projects
Commit 5b21a33f authored by Eric Vidal's avatar Eric Vidal :speech_balloon:
Browse files

fix segmentation fault at 66 <option> invocation without any others arguments

parent 78f02852
No related branches found
No related tags found
No related merge requests found
Pipeline #23214 passed
......@@ -194,6 +194,9 @@ int main(int argc, char const *const *argv)
argc -= l.ind ; argv += l.ind ;
}
if (!argc)
log_usage(usage_66, "\n", help_66) ;
if (!strcmp(argv[0], "boot")) {
PROG = "boot" ;
......
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