Oops, return EXIT_FAILURE on error
This commit is contained in:
parent
b01de5cb48
commit
072c4aa3a1
2
bar.c
2
bar.c
|
@ -852,7 +852,7 @@ main (int argc, char **argv)
|
||||||
/* Sanitize the arguments */
|
/* Sanitize the arguments */
|
||||||
if (bx >= scr->width_in_pixels || bx + bw > scr->width_in_pixels) {
|
if (bx >= scr->width_in_pixels || bx + bw > scr->width_in_pixels) {
|
||||||
fprintf(stderr, "The geometry specified doesn't fit the screen!\n");
|
fprintf(stderr, "The geometry specified doesn't fit the screen!\n");
|
||||||
return;
|
return EXIT_FAILURE;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (bu >= bh)
|
if (bu >= bh)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user