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:
parent
a1cc390c35
commit
e03ef196db
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user