check env for $authserver
This commit is contained in:
parent
43b112897a
commit
7732ac0a9b
7
cpu.c
7
cpu.c
|
@ -181,6 +181,13 @@ cpumain(int argc, char **argv)
|
||||||
fatal(0, "set $cpu");
|
fatal(0, "set $cpu");
|
||||||
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