[SHUTDOWN]

Remove useless check.

svn path=/trunk/; revision=65571
This commit is contained in:
Sylvain Petreolle 2014-12-06 11:33:31 +00:00
parent a381da464a
commit 2805f84806

View file

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