Skip to content

Commit 36d6791

Browse files
committed
Fix set_permissions call for non-windows
1 parent 2adbfa9 commit 36d6791

File tree

1 file changed

+1
-1
lines changed
  • src/tools/remote-test-server/src

1 file changed

+1
-1
lines changed

src/tools/remote-test-server/src/main.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -289,7 +289,7 @@ fn recv<B: BufRead>(dir: &Path, io: &mut B) -> PathBuf {
289289

290290
#[cfg(not(windows))]
291291
fn set_permissions(path: &Path) {
292-
t!(fs::set_permissions(&dst, Permissions::from_mode(0o755)));
292+
t!(fs::set_permissions(&path, Permissions::from_mode(0o755)));
293293
}
294294
#[cfg(windows)]
295295
fn set_permissions(_path: &Path) {}

0 commit comments

Comments
 (0)