diff --git a/inxi b/inxi index e00e640..26710e9 100755 --- a/inxi +++ b/inxi @@ -5430,7 +5430,8 @@ get_init_data() else ls_run=$(ls /run) # note: upstart-file-bridge.pid upstart-socket-bridge.pid upstart-udev-bridge.pid - if [[ -n $( grep 'upstart' <<< "$ls_run" ) ]];then + # /sbin/init --version == init (upstart 1.12.1) + if [[ -n $( /sbin/init --version 2>/dev/null | grep 'upstart' ) ]];then init_type='Upstart' # /sbin/init --version == init (upstart 1.12.1) init_version=$( get_de_app_version 'init' 'upstart' '3' )