Kernel: Stop function when OS = AIX
This commit is contained in:
parent
79ef172623
commit
8a3981bf92
1 changed files with 3 additions and 0 deletions
3
neofetch
3
neofetch
|
@ -304,6 +304,9 @@ get_title() {
|
|||
}
|
||||
|
||||
get_kernel() {
|
||||
# Since AIX is an integrated system, it's better to skip this function altogether
|
||||
[[ "$os" == "AIX" ]] && return
|
||||
|
||||
case "$kernel_shorthand" in
|
||||
"on") kernel="$kernel_version" ;;
|
||||
"off") kernel="$kernel_name $kernel_version" ;;
|
||||
|
|
Loading…
Reference in a new issue