1
0
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:
Con Kolivas 2011-07-21 13:11:15 +10:00
parent 9d60b107f1
commit 6fdbe01412

2
main.c
View File

@ -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");