From 5f68bb82cd7e3fb42b9939c0956997fea1399f97 Mon Sep 17 00:00:00 2001 From: deutor Date: Wed, 31 Aug 2016 11:01:33 +0200 Subject: [PATCH] Formatting issues Formatting issues --- validate.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/validate.php b/validate.php index 94e8876914..c938d8c543 100755 --- a/validate.php +++ b/validate.php @@ -49,7 +49,7 @@ if (strstr(`php -ln config.php`, 'No syntax errors detected')) { // Check we are running this as the root user if (function_exists('posix_getpwuid')) { - $userinfo = posix_getpwuid( posix_geteuid() ); + $userinfo = posix_getpwuid(posix_geteuid()); $username = $userinfo['name']; } else { $username = getenv('USERNAME') ?: getenv('USER');//http://php.net/manual/en/function.get-current-user.php