Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 577ac2f

Browse files
committedMay 31, 2020
Fix set_permissions call for non-windows
1 parent 41d540f commit 577ac2f

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

Lines changed: 1 addition & 1 deletion
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)
Please sign in to comment.