We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 58a6223 commit e5821b7Copy full SHA for e5821b7
docs/troubleshooting/summarise_o2p_setup.sh
@@ -4,10 +4,10 @@
4
5
# System info
6
7
-systemName=""
8
-user=""
+systemName="Failed to get"
+user="Failed to get"
9
if [[ "$OSTYPE" == "linux-gnu"* ]]; then
10
- systemName="$(lsb_release -ds)"
+ [[ -n "$(which lsb_release)" ]] && systemName="$(lsb_release -ds)"
11
user="$(whoami)"
12
elif [[ "$OSTYPE" == "darwin"* ]]; then
13
systemName="$(sw_vers -productName) $(sw_vers -productVersion)"
0 commit comments