Skip to content

Commit

Permalink
Fix set_permissions call for non-windows
Browse files Browse the repository at this point in the history
  • Loading branch information
seritools committed May 29, 2020
1 parent 2adbfa9 commit 36d6791
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tools/remote-test-server/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -289,7 +289,7 @@ fn recv<B: BufRead>(dir: &Path, io: &mut B) -> PathBuf {

#[cfg(not(windows))]
fn set_permissions(path: &Path) {
t!(fs::set_permissions(&dst, Permissions::from_mode(0o755)));
t!(fs::set_permissions(&path, Permissions::from_mode(0o755)));
}
#[cfg(windows)]
fn set_permissions(_path: &Path) {}
Expand Down

0 comments on commit 36d6791

Please sign in to comment.