Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/bithenge/src/failure.c

    r6cd10ac r9c4cf0d  
    4141#include <stdio.h>
    4242#include <stdlib.h>
    43 #include <sys/stat.h>
    4443#include <sys/types.h>
    4544#include <sys/wait.h>
     
    152151                if (null == -1)
    153152                        exit(127);
    154                 dup2(null, STDOUT_FILENO);
    155                 dup2(null, STDERR_FILENO);
    156                 close(null);
     153                vfs_clone(null, STDOUT_FILENO, false);
     154                vfs_clone(null, STDERR_FILENO, false);
     155                vfs_put(null);
    157156                return 1;
    158157        }
Note: See TracChangeset for help on using the changeset viewer.