forked from u-root/u-root
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
u-root.go: set a reasonable and checked default for -uroot-source
The current value of -uroot-source is now "." For almost all users, this will be the right value. This is preferable to the previous value, "", which was wrong for ALL users, and, when not set, resulted in a confusing error message. Further, perform a simple test to see if the directory cmds/core exists at -uroot-source, and print a hopefully helpful error message if it does not. This will lessen another surprise that came with modules support. Signed-off-by: Ronald G. Minnich <[email protected]>
- Loading branch information
Showing
1 changed file
with
22 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters