Skip to content

Commit

Permalink
Merge pull request #214 from OpenVoiceOS/feat/add_os_debug
Browse files Browse the repository at this point in the history
[utils/common] Add more debug to the log
  • Loading branch information
goldyfruit authored Nov 27, 2024
2 parents 2185800 + f53794f commit 01fb96c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions utils/common.sh
Original file line number Diff line number Diff line change
Expand Up @@ -206,6 +206,9 @@ function get_os_information() {
export DISTRO_VERSION_ID="$VERSION_ID"
export DISTRO_VERSION="$VERSION"
export ARCH KERNEL PYTHON

# For debug purpose only
echo ["$ARCH", "$KERNEL", "$PYTHON", "$DISTRO_NAME", "$DISTRO_VERSION_ID"] >>"$LOG_FILE"
else
# Mostly if the detected system is no a Linux OS
uname 2>>"$LOG_FILE"
Expand Down

0 comments on commit 01fb96c

Please sign in to comment.