From 74d968ababc90e4b8eae93f2fec4ee0ea96686c9 Mon Sep 17 00:00:00 2001 From: "Robert S. French" Date: Wed, 1 Jul 1987 23:15:17 +0000 Subject: argh --- clients/zlocate/zlocate.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'clients/zlocate') diff --git a/clients/zlocate/zlocate.c b/clients/zlocate/zlocate.c index d1418fe..e2ed5a8 100644 --- a/clients/zlocate/zlocate.c +++ b/clients/zlocate/zlocate.c @@ -27,11 +27,6 @@ main(argc,argv) char *whoami,bfr[BUFSIZ],user[BUFSIZ]; ZLocations_t locations[1]; - if ((retval = ZInitialize()) != ZERR_NONE) { - com_err(whoami,retval,"while initializing"); - exit(1); - } - whoami = argv[0]; if (argc < 2) { @@ -39,6 +34,11 @@ main(argc,argv) exit(1); } + if ((retval = ZInitialize()) != ZERR_NONE) { + com_err(whoami,retval,"while initializing"); + exit(1); + } + argv++; argc--; -- cgit v1.2.3