diff options
Diffstat (limited to 'cli/ops/os.rs')
-rw-r--r-- | cli/ops/os.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/ops/os.rs b/cli/ops/os.rs index 6c1801520..1dd2ddc4f 100644 --- a/cli/ops/os.rs +++ b/cli/ops/os.rs @@ -83,7 +83,7 @@ fn op_exec_path( _zero_copy: Option<ZeroCopyBuf>, ) -> Result<JsonOp, OpError> { let current_exe = env::current_exe().unwrap(); - state.check_read(¤t_exe)?; + state.check_read_blind(¤t_exe, "exec_path")?; // Now apply URL parser to current exe to get fully resolved path, otherwise // we might get `./` and `../` bits in `exec_path` let exe_url = Url::from_file_path(current_exe).unwrap(); |