swc

Unnamed repository; edit this file 'description' to name the repository.
git clone git://git.nihaljere.xyz/swc
Log | Files | Refs | README | LICENSE

commit b189935d7f172f23ee93cd3239bc1630e20669be
parent ef95f2fe267f7168dceee8e084d77dcb69351b17
Author: Michael Forney <mforney@mforney.org>
Date:   Tue, 30 Dec 2014 08:19:01 -0800

launch: Exit with status 2 on usage error

Diffstat:
Mlaunch/launch.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/launch/launch.c b/launch/launch.c @@ -83,7 +83,7 @@ static void __attribute__((noreturn)) usage(const char * name) { fprintf(stderr, "Usage: %s [-n] [-s <server-socket>] [-t <tty-device>] " "[--] <server> [server arguments...]\n", name); - exit(EXIT_FAILURE); + exit(2); } static void start_devices()