1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-01-08 21:17:43 +03:00

Bug wrong open mode for /dev/null

This commit is contained in:
Ruben S. Montero 2010-10-15 19:09:10 +02:00
parent a1cc390c35
commit e03ef196db

View File

@ -267,7 +267,7 @@ void Nebula::start()
// Close stds, we no longer need them
// -----------------------------------------------------------
fd = open("/dev/null", O_RDWR|O_CREAT);
fd = open("/dev/null", O_RDWR);
dup2(fd,0);
dup2(fd,1);