From e19a7ed82365a6d187a8d79d727221d74d9409b2 Mon Sep 17 00:00:00 2001 From: Yurii Chechur Date: Mon, 14 Oct 2024 11:02:32 +0000 Subject: [PATCH] Update cv3/program.c --- cv3/program.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cv3/program.c b/cv3/program.c index 6bb0d5f..d6dcdad 100644 --- a/cv3/program.c +++ b/cv3/program.c @@ -102,7 +102,7 @@ int read(struct stack *s) { } default: printf("bad input\n"); - return 1; // Continue on invalid input + exit(0); // Continue on invalid input } }