FaradayRF / faradayio-cli

Command Line Interface implementation of the faradayio module
GNU General Public License v3.0
1 stars 1 forks source link

Warn User of Sudo Privileges #15

Closed kb1lqc closed 6 years ago

kb1lqc commented 6 years ago

Per https://github.com/FaradayRF/faradayio/issues/42 let's warn the user of not using sudo privileges when running faradayio-cli.

Warning! faradayio-cli must be run with sudo privileges!
kb1lqc commented 6 years ago

Implemented the following:

(.venv) bryce@bryce-ubuntu:~/Documents/git/faradayio$ faradayio-cli KB1LQC 1
Executing faradayio-cli version 0.0.1
Warning! faradayio-cli must be run with sudo!
[Errno 1] Operation not permitted
TUN brought down...
kb1lqc commented 6 years ago

Already pulled this into develop in an odd bit of PR merging I unexpectedly did. Woops. On the other hand it was simple.

https://github.com/kb1lqc/faradayio-cli/commit/f61d873ea7d27d21bbf20f222f2db140855ba4de

+1 for making sure my develop branch and successive branches are all up-to-date per the upstream fork first! Anyways, closing.