[hackers] [sbase] sort: Return 2 on usage error || Robert Ransom

From: <hg_AT_suckless.org>
Date: Tue, 22 May 2012 13:08:45 +0200 (CEST)

changeset: 124:e0d5f6454887
user: Robert Ransom <rransom.8774_AT_gmail.com>
date: Sun May 20 14:38:52 2012 +0000
files: sort.c
description:
sort: Return 2 on usage error


diff -r 68a136dcc421 -r e0d5f6454887 sort.c
--- a/sort.c Sun May 20 12:57:58 2012 +0000
+++ b/sort.c Sun May 20 14:38:52 2012 +0000
_AT_@ -31,7 +31,7 @@
                         uflag = true;
                         break;
                 default:
- exit(EXIT_FAILURE);
+ exit(2);
                 }
         if(optind == argc)
                 getlines(stdin);
Received on Tue May 22 2012 - 13:08:45 CEST

This archive was generated by hypermail 2.3.0 : Tue May 22 2012 - 13:12:09 CEST