#983430 admin.c: fix an "else" selection

Package:
src:nn
Source:
nn
Submitter:
Bjarni Ingi Gislason
Date:
2021-02-24 01:42:04 UTC
Severity:
normal
Tags:
#983430#5
Date:
2021-02-24 01:39:05 UTC
From:
To:
Dear Maintainer,

  Delete a space at the start of a line, which should be empty.

Signed-off-by: Bjarni Ingi Gislason <bjarniig@rhi.hi.is>
---
 admin.c | 11 ++++-------
 1 file changed, 4 insertions(+), 7 deletions(-)

diff --git a/admin.c b/admin.c
index 3029e45..bb33404 100644
--- a/admin.c
+++ b/admin.c
@@ -207,19 +207,16 @@ find_files(group_header * gh)
 	    return;
 	}
 	if (db_data_subdirs) {
-	    tprintf("admin.c:find_files: printing files in %s with a pager\n", db_data_directory);
 	    sprintf(command, "cd %s ; ls -l [0-9] | %s", db_data_directory, pager);
 	}
 	else {
-	    tprintf("admin.c:find_files: printing files in %s with a \
-pager\n", db_data_directory);
 	    sprintf(command, "ls -l %s | %s", db_data_directory, pager);
-    } else {
-	tprintf("admin.c:find_files: printing file in %s without a \
-pager\n", db_data_path(name, gh, '*'));
+	}
+    }
+    else {
 	sprintf(command, "ls -l %s", db_data_path(name, gh, '*'));
     }
-
+
     system(command);
 }