summaryrefslogtreecommitdiff
path: root/clients/zlocate
diff options
context:
space:
mode:
authorGravatar Robert S. French <rfrench@mit.edu>1987-07-01 23:15:17 +0000
committerGravatar Robert S. French <rfrench@mit.edu>1987-07-01 23:15:17 +0000
commit74d968ababc90e4b8eae93f2fec4ee0ea96686c9 (patch)
treedbd253a8ca94abfe11699b4f2cb03682cd6f8555 /clients/zlocate
parentbb2ebb31bbec67f2fd08ce3711534b7182dd9ca7 (diff)
argh
Diffstat (limited to 'clients/zlocate')
-rw-r--r--clients/zlocate/zlocate.c10
1 files changed, 5 insertions, 5 deletions
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--;