From 83af9b4735a32c16bf1373866b85a4ee87faae98 Mon Sep 17 00:00:00 2001 From: qorg11 Date: Mon, 1 Jun 2020 22:47:58 +0200 Subject: [PATCH] Errors count to rmdir --- src/rmdir.c | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/src/rmdir.c b/src/rmdir.c index 1ea6c9c..ad1c343 100644 --- a/src/rmdir.c +++ b/src/rmdir.c @@ -3,13 +3,19 @@ int main(int argc, char *argv[]) { + int errors = 0; for(int i = 1; i0) + { + printf("%i error(s) found\n",errors); } return 0; }