Skip to content

Commit cac5478

Browse files
committed
made process close with 0 if file was found
1 parent 8824143 commit cac5478

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/main.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,8 +136,9 @@ fn output() -> Result<(), Box<dyn std::error::Error>> {
136136
&args.path.display().to_string()
137137
))
138138
);
139-
}
140139
std::process::exit(1);
140+
}
141+
std::process::exit(0);
141142
}
142143

143144
if !directory.symlink_metadata()?.is_dir() {

0 commit comments

Comments
 (0)