[ros-diffs] [turner] 17878: Set errorlevel to 0 when user enters 'no' on del confirmation. this is how MS does it.

turner at svn.reactos.com turner at svn.reactos.com
Fri Sep 16 15:58:40 CEST 2005


Set errorlevel to 0 when user enters 'no' on del confirmation.  this is
how MS does it.
Modified: trunk/reactos/subsys/system/cmd/del.c
  _____  

Modified: trunk/reactos/subsys/system/cmd/del.c
--- trunk/reactos/subsys/system/cmd/del.c	2005-09-16 08:48:00 UTC
(rev 17877)
+++ trunk/reactos/subsys/system/cmd/del.c	2005-09-16 13:58:37 UTC
(rev 17878)
@@ -264,7 +264,8 @@

 
 		                if ((res == PROMPT_NO) || (res ==
PROMPT_BREAK))
 		                {
-			                continue;  //FIXME: Errorcode?
+
nErrorLevel = 0;
+			                continue;
 		                }
 	                }
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.reactos.org/pipermail/ros-diffs/attachments/20050916/e15dc702/attachment.html


More information about the Ros-diffs mailing list