Signed-off-by: Sami Kerola <kerolasa@xxxxxx> --- term-utils/write.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/term-utils/write.c b/term-utils/write.c index 14594f5..42f279b 100644 --- a/term-utils/write.c +++ b/term-utils/write.c @@ -73,8 +73,6 @@ static void __attribute__ ((__noreturn__)) done(int); int term_chk(char *, int *, time_t *, int); int utmp_chk(char *, char *); -static gid_t root_access; - static void __attribute__ ((__noreturn__)) usage(FILE * out) { fputs(USAGE_HEADER, out); @@ -122,8 +120,6 @@ int main(int argc, char **argv) usage(stderr); } - root_access = !getegid(); - /* check that sender has write enabled */ if (isatty(fileno(stdin))) myttyfd = fileno(stdin); -- 2.8.2 -- To unsubscribe from this list: send the line "unsubscribe util-linux" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html