Skip to content

Commit

Permalink
Hiding output from uname
Browse files Browse the repository at this point in the history
  • Loading branch information
benjivesterby committed Dec 15, 2021
1 parent 4898ffd commit a429a44
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions gvm
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ function fail() {
}

arch="amd64"
if ! uname -a | grep "x86_64"
if ! uname -a | grep "x86_64"&> /dev/null
then
arch="arm64"
printf "Configuring for %s Architecture\n" "$arch"
Expand Down Expand Up @@ -231,7 +231,7 @@ then
printf "%s" "$path" >> "$HOME/.bashrc"
source "$HOME"/.bashrc

if uname -a | grep Ubuntu
if uname -a | grep Ubuntu&> /dev/null
then
printf "For ubuntu you must run [source ~/.bashrc] or logout/login to complete path installation/n"
fi
Expand Down

0 comments on commit a429a44

Please sign in to comment.