summaryrefslogtreecommitdiff
path: root/common/cli_hush_modern.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/cli_hush_modern.c')
-rw-r--r--common/cli_hush_modern.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/common/cli_hush_modern.c b/common/cli_hush_modern.c
index 34278fdca2f..626fed089b2 100644
--- a/common/cli_hush_modern.c
+++ b/common/cli_hush_modern.c
@@ -221,6 +221,9 @@ static uint8_t xfunc_error_retval;
static const char defifsvar[] __aligned(1) = "IFS= \t\n";
#define defifs (defifsvar + 4)
+/* This define is used to check if exit command was called. */
+#define EXIT_RET_CODE -2
+
/*
* This define is used for changes that need be done directly in the upstream
* sources still. Ideally, its use should be minimized as much as possible.