diff options
author | Wynn Wolf Arbor | 2020-05-02 19:56:31 +0200 |
---|---|---|
committer | Wynn Wolf Arbor | 2020-05-05 21:12:59 +0200 |
commit | 5f83bed1dee53d46411e3e56e812afa78cc3bc32 (patch) | |
tree | 2c8ba9a34d62ebf9fded5143f95d8c7a456df0bd | |
parent | b6f8e3d1615e6928ae2bca50f6b28b2486876ff8 (diff) | |
download | kern-5f83bed1dee53d46411e3e56e812afa78cc3bc32.tar.gz |
Use consistent and explicit terminology in set_kernel()
With the introduction of the manuals, we realized that the term "active
kernel" is ambiguous. It might refer to both the currently selected
kernel in eselect and the kernel the system is running on at the moment.
Use "selected" instead of "active" to make this more explicit and line
it up with the usage in the manual.
-rwxr-xr-x | kern | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -36,10 +36,10 @@ set_kernel() { fi if test "$kern" = "$current"; then - errx "Latest kernel already set: $kern" + errx "Latest kernel already selected: $kern" fi - printf "Setting active kernel: %s\n" "$kern" + printf "Selecting kernel: %s\n" "$kern" sudo eselect kernel set "$kern" sudo chown -R "$(id -un)":"$(id -gn)" "$kerndir" |