From ce94dbe662155bd60d6839b5e8c82ad708667bcd Mon Sep 17 00:00:00 2001 From: rsc Date: Sun, 13 Feb 2005 18:04:00 +0000 Subject: add ssh-agent via factotum --- src/cmd/auth/factotum/ctl.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/cmd/auth/factotum/ctl.c') diff --git a/src/cmd/auth/factotum/ctl.c b/src/cmd/auth/factotum/ctl.c index df44b97d..85fbe5d8 100644 --- a/src/cmd/auth/factotum/ctl.c +++ b/src/cmd/auth/factotum/ctl.c @@ -40,6 +40,9 @@ ctlwrite(char *a) Key *k; Proto *proto; + while(*a == ' ' || *a == '\t' || *a == '\n') + a++; + if(a[0] == '#' || a[0] == '\0') return 0; @@ -63,7 +66,7 @@ ctlwrite(char *a) *p++ = '\0'; switch(classify(a)){ default: - werrstr("unknown verb"); + werrstr("unknown verb %s", a); return -1; case 0: /* key */ attr = parseattr(p); -- cgit v1.2.3