diff options
Diffstat (limited to 'runtime/ops/process.rs')
-rw-r--r-- | runtime/ops/process.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/ops/process.rs b/runtime/ops/process.rs index c2fa212d3..d7058a053 100644 --- a/runtime/ops/process.rs +++ b/runtime/ops/process.rs @@ -609,7 +609,7 @@ fn check_run_permission( // we don't allow users to launch subprocesses with any LD_ or DYLD_* // env vars set because this allows executing code (ex. LD_PRELOAD) return Err(deno_core::error::custom_error( - "PermissionDenied", + "NotCapable", format!( "Requires --allow-all permissions to spawn subprocess with {} environment variable{}.", env_var_names.join(", "), |