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

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

changeset: 123:68a136dcc421
user: Robert Ransom <rransom.8774_AT_gmail.com>
date: Sun May 20 12:57:58 2012 +0000
files: nl.c
description:
nl: Return 2 on usage error


diff -r 3e0195c79f87 -r 68a136dcc421 nl.c
--- a/nl.c Sun May 20 12:51:18 2012 +0000
+++ b/nl.c Sun May 20 12:57:58 2012 +0000
_AT_@ -36,7 +36,7 @@
                         sep = optarg;
                         break;
                 default:
- exit(EXIT_FAILURE);
+ exit(2);
                 }
         if(optind == argc)
                 nl(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:08 CEST