Commit 27249415 authored by intrigeri's avatar intrigeri
Browse files

tails-documentation: use documented syntax for os.execv (refs: #15332).

Passing the command to be run is not enforced according to the doc,
but still: let's use the documented form.
parent 887b2671
......@@ -91,7 +91,8 @@ except IndexError:
# up-to-date option.
if os.system('/usr/local/sbin/tor-has-bootstrapped') == 0:
os.execv('/usr/local/bin/tor-browser',
['--new-tab', 'https://tails.boum.org/' + page])
['/usr/local/bin/tor-browser', '--new-tab',
'https://tails.boum.org/' + page])
wiki_path = '/usr/share/doc/tails/website'
lang_code = os.getenv('LANG', 'en')[0:2]
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment