diff options
author | Wynn Wolf Arbor | 2020-03-16 13:46:39 +0100 |
---|---|---|
committer | Wynn Wolf Arbor | 2020-03-16 13:46:39 +0100 |
commit | dff09036c9116125474759464284a2becb4ca27e (patch) | |
tree | 10f89be811d971d9807e28557cda68e0c9dd0af2 | |
parent | 070a66509cc8c0df7122587944005a0131b210d8 (diff) | |
download | kern-dff09036c9116125474759464284a2becb4ca27e.tar.gz |
Hide potential warning about broken symlink
If the user removes the old kernel sources whilst still having the
symlink point to the kernel directory, eselect will issue a warning
about an invalid kernel target. For the purposes of kern, we can safely
ignore this warning.
Diffstat (limited to '')
-rwxr-xr-x | kern | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -19,7 +19,7 @@ get_latest_kernel() { } get_current_kernel() { - basename "$(eselect --brief kernel show)" + basename "$(eselect --brief kernel show 2>/dev/null)" } set_kernel() { |