Last active
January 1, 2016 08:49
-
-
Save kruton/8120594 to your computer and use it in GitHub Desktop.
Fix OpenSSH Apple Keychain getopt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/ssh-add.c b/ssh-add.c | |
index 10c968a..84f24d6 100644 | |
--- a/ssh-add.c | |
+++ b/ssh-add.c | |
@@ -457,7 +457,7 @@ main(int argc, char **argv) | |
"Could not open a connection to your authentication agent.\n"); | |
exit(2); | |
} | |
- while ((ch = getopt(argc, argv, "kKlLcdDxXe:s:t:")) != -1) { | |
+ while ((ch = getopt(argc, argv, "kKlLcdDxXmMe:s:t:")) != -1) { | |
switch (ch) { | |
case 'k': | |
key_only = 1; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment