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;
}
}
Show replies by date