From 2675a28f7c57e1ee97a0bf2068572492ed2c0186 Mon Sep 17 00:00:00 2001 From: mmmdbybyd <915445800@qq.com> Date: Tue, 13 Nov 2018 07:58:23 +0800 Subject: [PATCH] Update main.c --- main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main.c b/main.c index c516464..2735729 100644 --- a/main.c +++ b/main.c @@ -155,12 +155,12 @@ static void initializate(int argc, char **argv) break; case 'u': - if (setgid(atoi(optarg)) != 0)) + if (setgid(atoi(optarg)) != 0) { perror("setgid"); exit(1); } - if (setuid(atoi(optarg)) != 0)) + if (setuid(atoi(optarg)) != 0) { perror("setuid"); exit(1);