2 Copyright © 1995-2016, The AROS Development Team. All rights reserved.
9 /******************************************************************************
23 Ends a skip block in a script.
41 This command is quite similar to EndIf.
43 ******************************************************************************/
45 #include <proto/dos.h>
47 #include <dos/dosextens.h>
48 #include "dos_commanderrors.h"
50 #include <aros/shcommands.h>
52 AROS_SH0(EndSkip
,41.1)
56 struct CommandLineInterface
*cli
= Cli();
59 if ((cli
!= NULL
) && (cli
->cli_CurrentInput
!= cli
->cli_StandardInput
))
61 return RETURN_OK
; /* Normal operation: do nothing! */
65 PrintFault(ERROR_SCRIPT_ONLY
, "EndSkip");