summaryrefslogtreecommitdiffstats
path: root/src/commands/set_mode.rs
diff options
context:
space:
mode:
authorJiayi Zhao <jeff.no.zhao@gmail.com>2019-04-19 13:35:41 -0400
committerJiayi Zhao <jeff.no.zhao@gmail.com>2019-04-19 13:35:41 -0400
commit97434b87b049a8567dc65adc3756ac6f13a36940 (patch)
treedb90cbc7f5d5223fab071b6c4640da2fdba7be15 /src/commands/set_mode.rs
parent7ca4a71f510fc375dd1ba7587db52fd2a6683c32 (diff)
add getting path selection methods to JoshutoDirList
Diffstat (limited to 'src/commands/set_mode.rs')
-rw-r--r--src/commands/set_mode.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/commands/set_mode.rs b/src/commands/set_mode.rs
index a79c72e..c4699e0 100644
--- a/src/commands/set_mode.rs
+++ b/src/commands/set_mode.rs
@@ -61,7 +61,7 @@ impl SetMode {
unix::set_mode(entry.path.as_path(), mode);
entry.metadata.permissions.set_mode(mode + (1 << 15));
true
- },
+ }
None => false,
}
}