commit f79e08cface629b7f7436103f81461e6ad9be0a7
parent 09e5967363f98cf07ddb8555e9b54a6a5cb28ba0
Author: Drew DeVault <sir@cmpwn.com>
Date: Fri, 15 Oct 2021 12:17:14 +0200
fs: style fix
Signed-off-by: Drew DeVault <sir@cmpwn.com>
Diffstat:
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/fs/fs.ha b/fs/fs.ha
@@ -208,8 +208,10 @@ export fn rmdirall(fs: *fs, path: str) (void | error) = {
defer free(p);
switch (ent.ftype & mode::DIR) {
- case mode::DIR => rmdirall(fs, p)?;
- case => remove(fs, p)?;
+ case mode::DIR =>
+ rmdirall(fs, p)?;
+ case =>
+ remove(fs, p)?;
};
case void =>
break;