sbase

suckless unix tools
git clone git://git.2f30.org/sbase
Log | Files | Refs | README | LICENSE

commit 7565af0e31c214e6e470e07cca78df3bd0f7493b
parent c0f60a6f3d0b5d4ce4fb1ee5cb32442eac1e08c6
Author: Robert Ransom <rransom.8774@gmail.com>
Date:   Sun, 20 May 2012 14:38:52 +0000

sort: Return 2 on usage error
Diffstat:
Msort.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sort.c b/sort.c @@ -31,7 +31,7 @@ main(int argc, char *argv[]) uflag = true; break; default: - exit(EXIT_FAILURE); + exit(2); } if(optind == argc) getlines(stdin);