When we have to print usage instructions, don't indicate success in the exit
status.
This commit is contained in:
parent
9cec807b1c
commit
c9954566b9
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: play.c,v 1.15 1999/11/06 15:05:45 kleink Exp $ */
|
||||
/* $NetBSD: play.c,v 1.16 1999/11/08 10:21:20 kleink Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1999 Matthew R. Green
|
||||
|
@ -416,5 +416,5 @@ usage()
|
|||
"-m monitor volume\n\t"
|
||||
"-p output port\n\t"
|
||||
"-v volume\n");
|
||||
exit(0);
|
||||
exit(EXIT_FAILURE);
|
||||
}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: record.c,v 1.8 1999/09/27 01:58:07 mrg Exp $ */
|
||||
/* $NetBSD: record.c,v 1.9 1999/11/08 10:21:21 kleink Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1999 Matthew R. Green
|
||||
|
@ -376,5 +376,5 @@ usage()
|
|||
"-s sample rate\n\t"
|
||||
"-t recording time\n\t"
|
||||
"-v volume\n");
|
||||
exit(0);
|
||||
exit(EXIT_FAILURE);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue