Print at least something when failing.
This commit is contained in:
parent
ac042c65ae
commit
4c91d6bc44
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=368197
@ -584,8 +584,11 @@ main(int argc, char *argv[])
|
|||||||
return (usage(false));
|
return (usage(false));
|
||||||
}
|
}
|
||||||
|
|
||||||
if ((be = libbe_init(root)) == NULL)
|
if ((be = libbe_init(root)) == NULL) {
|
||||||
|
fprintf(stderr, "libbe_init(\"%s\") failed.\n",
|
||||||
|
root != NULL ? root : "");
|
||||||
return (-1);
|
return (-1);
|
||||||
|
}
|
||||||
|
|
||||||
libbe_print_on_error(be, !cmd->silent);
|
libbe_print_on_error(be, !cmd->silent);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user