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
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=301963

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);
}