aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/rpc/system.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/rpc/system.rs b/src/rpc/system.rs
index 1a5677df..f4e4b9ea 100644
--- a/src/rpc/system.rs
+++ b/src/rpc/system.rs
@@ -843,7 +843,7 @@ impl NodeStatus {
match mount_avail(&dir.path) {
Some((fsid, avail, total)) => {
mounts.insert(fsid, (avail, total));
- }
+ },
None => return None,
}
@@ -852,9 +852,9 @@ impl NodeStatus {
Some(fsid) => match mount_avail(&dir.path) {
Some((_, avail, total)) => {
mounts.insert(fsid, (avail, total));
- }
+ },
None => return None,
- }
+ },
None => return None,
}
}