From 73bc66e1c4a6d99493cb91153d0eea0536318ff7 Mon Sep 17 00:00:00 2001 From: netblue30 Date: Sat, 16 Sep 2017 11:01:07 -0400 Subject: cleanup --- src/fcopy/main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/fcopy/main.c b/src/fcopy/main.c index 9f525f2a8..e7b4ffa8a 100644 --- a/src/fcopy/main.c +++ b/src/fcopy/main.c @@ -213,7 +213,7 @@ static char *check(const char *src) { goto errexit; } else { - if (s.st_uid != user /* || s.st_gid != getgid()*/) + if (s.st_uid != user) goto errexit; } @@ -222,7 +222,7 @@ static char *check(const char *src) { return rsrc; // normal exit from the function errexit: - fprintf(stderr, "Edddddrror fcopy: invalid file %s\n", src); + fprintf(stderr, "Error fcopy: invalid file %s\n", src); exit(1); } -- cgit v1.2.3-54-g00ecf