Suggested improvement : Check dependencies of the curl command in the script

Free Internet troubleshooting agent for Centos, Ubuntu and others. Outages.io automatically finds connectivity issues and gives you hard facts.
Post Reply
kjellgrb
Posts: 4
Joined: Thu Aug 06, 2020 11:14 am

Suggested improvement : Check dependencies of the curl command in the script

Post by kjellgrb »

Hi,
I have successfully installed the agent on a LXC container with Ubuntu 20.04.
The minimal Ubuntu do not have curl installed as default therefore I suggest that the script check for that requirement :

Code: Select all

command -v curl >/dev/null 2>&1 || { echo >&2 "I require curl but it's not installed. Aborting."; exit 1; }
Regards,
Benny

User avatar
Outages.io_Support
Posts: 98
Joined: Wed Feb 12, 2020 11:09 am

Re: Suggested improvement : Check dependencies of the curl command in the script

Post by Outages.io_Support »

Sure, we could add that.

I quickly tested using a word I knew would not exist on the server and of course it promptly logged me out of the server.
Great, it works, now maybe I should use it in the script next time :).

The script has already been updated.

Thanks very much for the suggestion.
I'm with the Outages.io support team. Please post your question and I'll try to answer

Are the issues in your local network, with your Internet provider or beyond?
Save countless hours by letting Outages.io help you find Internet connection problems.

Post Reply