diff options
Diffstat (limited to 'commands/printenv.c')
-rw-r--r-- | commands/printenv.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/commands/printenv.c b/commands/printenv.c index 8766a127d3..27b2049d5d 100644 --- a/commands/printenv.c +++ b/commands/printenv.c @@ -40,7 +40,7 @@ static int do_printenv (cmd_tbl_t *cmdtp, int argc, char *argv[]) return 0; } printf("## Error: \"%s\" not defined\n", argv[1]); - return -EINVAL; + return 1; } current_c = get_current_context(); |