Hologos / traffic-splitter

Alter your routing table with ease.
0 stars 0 forks source link

No error when passing nonexistant config filepath #9

Open Hologos opened 5 years ago

Hologos commented 5 years ago

No error message when passing nonexistant config filepath:

$ sudo traffic-splitter -d en2 -t en0 -c /tmp/asd.yml
Password: 
Hologos commented 5 years ago

Due to subshells there is no error message. It seems that this project should be moved to Python (or other higher language). This type of checks/code structure is not suited for shell. Maybe migrate to netifaces (https://pypi.org/project/netifaces/)?