Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Getting "expect: option requires..." error #6

Open
flaugher opened this issue May 26, 2016 · 0 comments
Open

Getting "expect: option requires..." error #6

flaugher opened this issue May 26, 2016 · 0 comments

Comments

@flaugher
Copy link

When I use vim-sync and type my leader key followed by "su", I get the following error:

expect: option requires an argument -- c    
usage: expect [-div] [-c cmds] [[-f] cmdfile] [args]
shell returned 1.
Press ENTER or type command to continue

I copy-pasted the sftp code as shown into an executable .sync file and then changed "login_name" and the 1.2.3.4 IP address to my login name and the server's IP address.

Any ideas on how to fix this?

Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant