do not call exits in threaded programs

This commit is contained in:
rsc 2005-01-17 21:29:00 +00:00
parent e33c70bc72
commit 38c10d1abc
8 changed files with 25 additions and 17 deletions

View file

@ -105,7 +105,7 @@ static void
usage(void)
{
fprint(2, "usage: %s [-amqsv] [-h host] [-d vacfile] [-b blocksize] [-i name] [-e exclude] [-f vacfile] file ... \n", argv0);
exits("usage");
threadexitsall("usage");
}
void

View file

@ -206,7 +206,7 @@ void
usage(void)
{
fprint(2, "usage: %s [-sd] [-h host] [-c ncache] [-m mountpoint] vacfile\n", argv0);
exits("usage");
threadexitsall("usage");
}
char*