Print a warning that includes the mount source when the foreground
mount fails prior to going into the background when a background NFS mount is requested. PR: misc/12376
This commit is contained in:
parent
075ff1d959
commit
fa9f8da4d2
@ -815,6 +815,7 @@ getnfsargs(spec, nfsargsp)
|
||||
}
|
||||
if (--retrycnt > 0) {
|
||||
if (opflags & BGRND) {
|
||||
warnx("Cannot immediately mount %s:%s, backgrounding", hostp, spec);
|
||||
opflags &= ~BGRND;
|
||||
if ((i = fork())) {
|
||||
if (i == -1)
|
||||
|
Loading…
Reference in New Issue
Block a user