mirror of
https://github.com/xmrig/xmrig.git
synced 2025-03-12 09:37:35 +00:00
#108 Silently ignore invalid values for donate-level option.
This commit is contained in:
parent
729ee08631
commit
3a7bb24b40
1 changed files with 1 additions and 2 deletions
|
@ -420,8 +420,7 @@ bool Options::parseArg(int key, uint64_t arg)
|
|||
|
||||
case 1003: /* --donate-level */
|
||||
if (arg < 1 || arg > 99) {
|
||||
showUsage(1);
|
||||
return false;
|
||||
return true;
|
||||
}
|
||||
|
||||
m_donateLevel = (int) arg;
|
||||
|
|
Loading…
Reference in a new issue