mirror of
https://github.com/smxi/inxi.git
synced 2025-09-04 03:29:10 +00:00
(No version change)
and added -q to testing wget as well...
This commit is contained in:
parent
0ad0f3197b
commit
1404ceca7d
1 changed files with 1 additions and 1 deletions
2
inxi
2
inxi
|
@ -578,7 +578,7 @@ get_parameters()
|
||||||
;;
|
;;
|
||||||
http*)
|
http*)
|
||||||
# first test provided url to avoid overwriting file with null
|
# first test provided url to avoid overwriting file with null
|
||||||
wget --spider "$OPTARG$SCRIPT_NAME"
|
wget -q --spider "$OPTARG$SCRIPT_NAME"
|
||||||
if [[ $? -eq 0 ]];then
|
if [[ $? -eq 0 ]];then
|
||||||
script_self_updater "$OPTARG" 'alt server'
|
script_self_updater "$OPTARG" 'alt server'
|
||||||
else
|
else
|
||||||
|
|
Loading…
Add table
Reference in a new issue