Ticket #41923: openssh-getopt-fix.patch

File openssh-getopt-fix.patch, 408 bytes (added by kenny@…, 10 years ago)
  • ssh-add.c

    diff --git a/ssh-add.c b/ssh-add.c
    index 10c968a..84f24d6 100644
    a b main(int argc, char **argv) 
    457457                    "Could not open a connection to your authentication agent.\n");
    458458                exit(2);
    459459        }
    460         while ((ch = getopt(argc, argv, "kKlLcdDxXe:s:t:")) != -1) {
     460        while ((ch = getopt(argc, argv, "kKlLcdDxXmMe:s:t:")) != -1) {
    461461                switch (ch) {
    462462                case 'k':
    463463                        key_only = 1;