summaryrefslogtreecommitdiff
path: root/yaksh/c_cpp_files
diff options
context:
space:
mode:
Diffstat (limited to 'yaksh/c_cpp_files')
-rwxr-xr-xyaksh/c_cpp_files/main2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/yaksh/c_cpp_files/main2.c b/yaksh/c_cpp_files/main2.c
index ccd1768..a62195f 100755
--- a/yaksh/c_cpp_files/main2.c
+++ b/yaksh/c_cpp_files/main2.c
@@ -13,7 +13,7 @@ void check(T expect,T result)
else
{
printf("\nIncorrect:\n Expected %d got %d \n",expect,result);
- exit (0);
+ exit (1);
}
}