add missing - to install parameter

This commit is contained in:
Jan Dittberner 2015-01-29 22:55:45 +01:00
parent 0db08db831
commit 92beb28816

View file

@ -328,7 +328,7 @@ def set_file_ssh_authorized_keys(username, ssh_keys):
try:
subprocess.check_output([
SUDO_CMD, INSTALL_CMD, '-o', username, '-g', username,
'm', '0500', '-d', os.path.dirname(ssh_authorized_keys_file)],
'-m', '0500', '-d', os.path.dirname(ssh_authorized_keys_file)],
stderr=subprocess.STDOUT)
subprocess.check_output([
SUDO_CMD, INSTALL_CMD, '-o', username, '-g', username,