Return usual error indicator to shell.

Sponsored by:	The FreeBSD Foundation
MFC after:	1 week
Approved by:	re (hrs)
This commit is contained in:
Konstantin Belousov 2016-06-16 12:08:25 +00:00
parent f1143962a5
commit 78a6a430ca

View File

@ -481,5 +481,5 @@ main(int argc, char *argv[])
usage(); /* Only one command can be selected. */
}
SLIST_FREE(&datadirs, next, free);
return (error);
return (error == 0 ? 0 : 1);
}