Skip to content

Commit

Permalink
fix #241. return 0 in case of error
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomas Tsai committed Nov 28, 2023
1 parent 3a1fac8 commit 9ac6cef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/partclone.c
Original file line number Diff line number Diff line change
Expand Up @@ -836,7 +836,7 @@ void open_log(char* source) {
msg = fopen(source,"w");
if (msg == NULL) {
fprintf(stderr, "open logfile %s error\n", source);
exit(0);
exit(1);
}
}

Expand Down

0 comments on commit 9ac6cef

Please sign in to comment.