Commit 643a9b10 authored by Klaas Freitag's avatar Klaas Freitag

Check for /proc/net, not /proc only to see if the proc file system exists.

parent 3d2c3123
......@@ -28,7 +28,7 @@ int sockets_open(int family)
force = 0;
if (kernel_version() < KRELEASE(2,1,0))
force = 1;
if (access("/proc",R_OK))
if (access("/proc/net",R_OK))
force = 1;
}
for (aft = aftypes; *aft; aft++) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment