We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b0d1394 commit 36a1197Copy full SHA for 36a1197
ext/pcntl/tests/pcntl_unshare_01.phpt
@@ -6,7 +6,7 @@ if (!extension_loaded("pcntl")) die("skip");
6
if (!extension_loaded("posix")) die("skip posix extension not available");
7
if (!function_exists("pcntl_unshare")) die("skip pcntl_unshare is not available");
8
if (!defined("CLONE_NEWUSER")) die("skip flag unavailable");
9
-if (pcntl_unshare(CLONE_NEWUSER) == false && pcntl_get_last_error() == PCNTL_EPERM) {
+if (@pcntl_unshare(CLONE_NEWUSER) == false && pcntl_get_last_error() == PCNTL_EPERM) {
10
die("skip Insufficient previleges to use CLONE_NEWUSER");
11
}
12
0 commit comments