Skip to content

Commit 77bcc7b

Browse files
author
lind
committed
fixing fchdir
1 parent c52296b commit 77bcc7b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/safeposix/syscalls/fs_calls.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2233,7 +2233,7 @@ impl Cage {
22332233
//Obtain the write lock on the current working directory of the cage
22342234
//and change it to the new directory
22352235
let mut cwd_container = self.cwd.write();
2236-
**cwd_container = interface::RustRfc::new(convpath(path_string.as_str()));
2236+
*cwd_container = interface::RustRfc::new(convpath(path_string.as_str()));
22372237

22382238
0 // fchdir success
22392239
}

0 commit comments

Comments
 (0)