check env for $authserver
This commit is contained in:
parent
43b112897a
commit
7732ac0a9b
7
cpu.c
7
cpu.c
|
@ -182,6 +182,13 @@ cpumain(int argc, char **argv)
|
||||||
system = p;
|
system = p;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if(authserver == nil) {
|
||||||
|
p = getenv("auth");
|
||||||
|
if(p == 0)
|
||||||
|
fatal(0, "set $auth");
|
||||||
|
authserver = p;
|
||||||
|
}
|
||||||
|
|
||||||
if(err = rexcall(&data, system, srvname))
|
if(err = rexcall(&data, system, srvname))
|
||||||
fatal(1, "%s: %s", err, system);
|
fatal(1, "%s: %s", err, system);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue