Skip to content
Snippets Groups Projects
Commit c10403f0 authored by Florent Thiery's avatar Florent Thiery
Browse files

do not run ssl test if no nginx is available

parent 232d57a6
No related branches found
No related tags found
No related merge requests found
......@@ -14,6 +14,10 @@ GREEN = '\033[92m'
RED = '\033[91m'
DEF = '\033[0m'
if not os.path.isdir('/etc/nginx'):
print('Nginx not found, skipping test')
sys.exit(0)
os.chdir(os.path.dirname(__file__))
if not os.path.isfile('../utils.py'):
print('conf.sh not found')
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment