mirror of
https://github.com/GOSTSec/sgminer
synced 2025-01-11 07:17:58 +00:00
Remove the nil arguments check to allow starting without parameters.
This commit is contained in:
parent
9d60b107f1
commit
6fdbe01412
2
main.c
2
main.c
@ -2666,8 +2666,6 @@ int main (int argc, char *argv[])
|
||||
opt_register_table(opt_cmdline_table,
|
||||
"Options for command line only");
|
||||
|
||||
if (argc == 1)
|
||||
quit(1, "No arguments specified");
|
||||
opt_parse(&argc, argv, applog_and_exit);
|
||||
if (argc != 1)
|
||||
quit(1, "Unexpected extra commandline arguments");
|
||||
|
Loading…
Reference in New Issue
Block a user