Skip to content
Snippets Groups Projects
Commit cf281234 authored by jurgenhaas's avatar jurgenhaas
Browse files

Use jailroot variable everywhere

parent 2102ea87
Branches
No related tags found
No related merge requests found
......@@ -25,7 +25,7 @@ if not id:
exit(1)
else:
id = extras.pop(0)
path = '/jails/' + id
path = '{{ jailroot|default("/jails") }}/' + id
if not os.path.exists(path):
print('Jail %s not found' % id)
exit(2)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment