Oops, return EXIT_FAILURE on error

This commit is contained in:
LemonBoy 2014-02-21 21:49:50 +00:00
parent b01de5cb48
commit 072c4aa3a1

2
bar.c
View File

@ -852,7 +852,7 @@ main (int argc, char **argv)
/* Sanitize the arguments */
if (bx >= scr->width_in_pixels || bx + bw > scr->width_in_pixels) {
fprintf(stderr, "The geometry specified doesn't fit the screen!\n");
return;
return EXIT_FAILURE;
}
if (bu >= bh)