Skip to content

Commit 8b7bc23

Browse files
author
NullpointerW
committed
feat: exit with scan err
1 parent a539cde commit 8b7bc23

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

subject/file.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ func Scan() {
5454
}
5555
} else {
5656
log.Error(log.Struct{"err", err}, "scan: open home folder failed")
57+
os.Exit(1)
5758
}
5859
}
5960

0 commit comments

Comments
 (0)