diff --git a/osc/commands_git/repo_clone.py b/osc/commands_git/repo_clone.py index 8443f041..d4d00b96 100644 --- a/osc/commands_git/repo_clone.py +++ b/osc/commands_git/repo_clone.py @@ -54,6 +54,6 @@ class RepoCloneCommand(osc.commandline_git.GitObsCommand): directory=args.directory, anonymous=args.anonymous, add_remotes=True, - ssh_private_key_path=self.gitea_login.ssh_key or args.ssh_key, + ssh_private_key_path=args.ssh_key or self.gitea_login.ssh_key, ssh_strict_host_key_checking=not(args.no_ssh_strict_host_key_checking), )