Remove superfluous #ifdef

This commit is contained in:
Eelco Dolstra 2017-05-08 11:25:23 +02:00
parent bb50c89319
commit 0a97eb6bd7
No known key found for this signature in database
GPG key ID: 8170B4726D7198DE

View file

@ -2360,10 +2360,8 @@ void DerivationGoal::runChild()
createDirs(chrootRootDir + "/dev/shm");
createDirs(chrootRootDir + "/dev/pts");
ss.push_back("/dev/full");
#ifdef __linux__
if (pathExists("/dev/kvm"))
ss.push_back("/dev/kvm");
#endif
ss.push_back("/dev/null");
ss.push_back("/dev/random");
ss.push_back("/dev/tty");