From 30e459252c4e82ad051d1936d9bab874f3e38257 Mon Sep 17 00:00:00 2001 From: topjohnwu Date: Sun, 17 Jun 2018 01:26:38 +0800 Subject: [PATCH] Update daemon --- su_daemon.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/su_daemon.c b/su_daemon.c index 228ae200c..2bd5f524e 100644 --- a/su_daemon.c +++ b/su_daemon.c @@ -382,7 +382,7 @@ int su_client_main(int argc, char *argv[]) { int ptmx, socketfd; // Connect to client - socketfd = connect_daemon(0); + socketfd = connect_daemon(); // Tell the daemon we are su write_int(socketfd, SUPERUSER);