mirror of
https://github.com/smxi/inxi.git
synced 2024-11-16 16:21:39 +00:00
some code cleanup, new tarball, no other changes that matter
This commit is contained in:
parent
2703defd0c
commit
5b86605d24
7
inxi
7
inxi
|
@ -6669,13 +6669,6 @@ get_shell_data()
|
||||||
shell_version=$( get_de_app_version "$shell_type" "^zsh" "2" )
|
shell_version=$( get_de_app_version "$shell_type" "^zsh" "2" )
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
if [[ $B_EXTRA_EXTRA_DATA == 'true' ]];then
|
|
||||||
script_parent=$( ps -fp $PPID --no-headers 2>/dev/null | gawk '/'"$PPID"'/ { print $3 }' )
|
|
||||||
shell_parent=$( ps -p $script_parent --no-headers 2>/dev/null | gawk '/'"$script_parent"'/ { print $NF}' )
|
|
||||||
if [[ -n $shell_parent ]];then
|
|
||||||
shell_parent=" - parent $shell_parent"
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
fi
|
fi
|
||||||
if [[ -n $shell_version ]];then
|
if [[ -n $shell_version ]];then
|
||||||
shell_type="$shell_type $shell_version"
|
shell_type="$shell_type $shell_version"
|
||||||
|
|
Loading…
Reference in a new issue