Author: spetreolle
Date: Sat Dec  6 11:33:31 2014
New Revision: 65571

URL: http://svn.reactos.org/svn/reactos?rev=65571&view=rev
Log:
[SHUTDOWN]
Remove useless check.

Modified:
    trunk/reactos/base/applications/shutdown/shutdown.c

Modified: trunk/reactos/base/applications/shutdown/shutdown.c
URL: 
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/shutdown/shutdown.c?rev=65571&r1=65570&r2=65571&view=diff
==============================================================================
--- trunk/reactos/base/applications/shutdown/shutdown.c [iso-8859-1] (original)
+++ trunk/reactos/base/applications/shutdown/shutdown.c [iso-8859-1] Sat Dec  6 
11:33:31 2014
@@ -281,7 +281,7 @@
     }
 
     /* 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;


Reply via email to