]> git.ipfire.org Git - thirdparty/coreutils.git/commit
(main): nohup now ignores the umask when creating nohup.out.
authorPaul Eggert <eggert@cs.ucla.edu>
Sat, 19 Mar 2005 00:45:48 +0000 (00:45 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Sat, 19 Mar 2005 00:45:48 +0000 (00:45 +0000)
commitc8f3dc402bbd153c1112a534bb6a7cd567bcccfa
tree8ceee99756fb83d7d5e93bbf2f42d743a5d7465e
parent319ebff684beef8b32009d193feb21d9df238fed
(main): nohup now ignores the umask when creating nohup.out.
nohup now closes stderr if it is a terminal and stdout is closed.
Be a little more paranoid about return values;
e.g., check for any negative return from open.
Assume free (NULL) works.
Close file descriptor leak when redirecting standard output to a file.
src/nohup.c