History

check env for $authserver

Russ Cox committed 21 years ago

Commit 7732ac01 parent 43b11281 file · +7 −0Browse files

Unified · Split

cpu.c+7−0
@@ -181,6 +181,13 @@ cpumain(int argc, char **argv) · 180 unmodified lines
181181 fatal(0, "set $cpu");
182182 system = p;
183183 }
184+
185+ if(authserver == nil) {
186+ p = getenv("auth");
187+ if(p == 0)
188+ fatal(0, "set $auth");
189+ authserver = p;
190+ }
184191
185192 if(err = rexcall(&data, system, srvname))
186193 fatal(1, "%s: %s", err, system);

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t