mirror of
https://github.com/opnsense/src.git
synced 2026-06-11 09:41:03 -04:00
If vfs_mountroot_try() isn't given a path to try mounting, return a silent
error rather than complaining about it verbosely. No path is not really a failure, but the diagnostic was confusing and unuseful.
This commit is contained in:
parent
95dc37f68d
commit
b3be35ee5e
2 changed files with 2 additions and 2 deletions
|
|
@ -173,7 +173,7 @@ vfs_mountroot_try(char *mountfrom)
|
|||
error = EINVAL;
|
||||
|
||||
if (mountfrom == NULL)
|
||||
goto done;
|
||||
return(error); /* don't complain */
|
||||
|
||||
printf("Mounting root from %s\n", mountfrom);
|
||||
|
||||
|
|
|
|||
|
|
@ -173,7 +173,7 @@ vfs_mountroot_try(char *mountfrom)
|
|||
error = EINVAL;
|
||||
|
||||
if (mountfrom == NULL)
|
||||
goto done;
|
||||
return(error); /* don't complain */
|
||||
|
||||
printf("Mounting root from %s\n", mountfrom);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue