mirror of
https://github.com/smxi/inxi.git
synced 2024-11-16 16:21:39 +00:00
(No version change)
and added -q to testing wget as well...
This commit is contained in:
parent
0ad0f3197b
commit
1404ceca7d
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…
Reference in a new issue