Commit Graph

3 Commits

Author SHA1 Message Date
Alexey Sheplyakov
a8fa5f19bf cifsmount: capture std{err,out} of mount.cifs to log
So it's easier to debug a failed boot.
While at it avoid closing stdin, since a printf might inject
unexpected input into a wrong place (a socket with FD 0).
Redirect stdin from /dev/null instead.

While at it improved error handling a bit (fork, waitpid can fail)

nfsmount: same here

Related: #40554
2021-09-06 17:57:38 +04:00
Arseny Maslennikov
2440a17fbe Remove unnecessary whitespace from C program text 2018-05-09 15:21:26 +03:00
Anton Kachalov
46438969c6 Initial revision 2004-01-20 18:32:43 +00:00