mirror of
https://github.com/reactos/reactos.git
synced 2024-12-31 19:42:51 +00:00
[SHUTDOWN]
Remove useless check. svn path=/trunk/; revision=65571
This commit is contained in:
parent
a381da464a
commit
2805f84806
1 changed files with 1 additions and 1 deletions
|
@ -281,7 +281,7 @@ int wmain(int argc, WCHAR *argv[])
|
|||
}
|
||||
|
||||
/* Ensure that the timout amount is not too high or a negative number */
|
||||
if ((opts.shutdown_delay < 0) || (opts.shutdown_delay > MAX_TIMEOUT))
|
||||
if (opts.shutdown_delay > MAX_SHUTDOWN_TIMEOUT)
|
||||
{
|
||||
PrintResourceString(IDS_ERROR_TIMEOUT, opts.shutdown_delay);
|
||||
return EXIT_FAILURE;
|
||||
|
|
Loading…
Reference in a new issue