Skip to content

Commit

Permalink
[sesman] vnc over ssh: fix temporary folder to use
Browse files Browse the repository at this point in the history
Use volatile folder instead of /tmp
  • Loading branch information
mengtan committed Apr 5, 2024
1 parent 1e0a0fb commit dbe87fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/sesman/sesmanworker/tunneling_process.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ def sshkeygen_add_passphrase_private(
Qn7Oy594TzrT89Y/qms=
-----END DSA PRIVATE KEY-----
"""
prk_fd, prk_path = tempfile.mkstemp(dir='/tmp')
prk_fd, prk_path = tempfile.mkstemp(dir=VOLATILE_FOLDER)
if not isinstance(key, bytes):
key = key.encode('utf-8')
if passphrase is None:
Expand Down

0 comments on commit dbe87fc

Please sign in to comment.