aboutsummaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
Diffstat (limited to 'main.go')
-rw-r--r--main.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/main.go b/main.go
index 61dffb2..edd61ff 100644
--- a/main.go
+++ b/main.go
@@ -329,7 +329,7 @@ func main() {
}
// "-fsck"
if args.fsck {
- fsck(&args)
- os.Exit(0)
+ code := fsck(&args)
+ os.Exit(code)
}
}