summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/config.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/config.c b/src/config.c
index 4c966ed3..0d869613 100644
--- a/src/config.c
+++ b/src/config.c
@@ -128,7 +128,7 @@ static char *ssh_config_get_token(char **str) {
c = ssh_config_get_cmd(str);
for (r = c; *c; c++) {
- if (isblank(*c)) {
+ if (isblank(*c) || *c == '=') {
*c = '\0';
goto out;
}