[PATCH] Fixed girar-sh output with PTY allocation disabled.
Mikhail Gusarov
=?iso-8859-1?q?dottedmag_=CE=C1_dottedmag=2Enet?=
Чт Дек 11 17:24:35 MSK 2008
---
bin/girar-sh.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/bin/girar-sh.c b/bin/girar-sh.c
index 211c70e..d73fa9b 100644
--- a/bin/girar-sh.c
+++ b/bin/girar-sh.c
@@ -194,6 +194,6 @@ main (int ac, char *av[])
shell(av);
}
- error(0, 0, "Invalid number of arguments");
- show_help(EXIT_FAILURE);
+ error(0, 0, "Not enough arguments. Try the 'help' command.");
+ exit(EXIT_FAILURE);
}
--
1.6.0.3
--=-=-=
--
--=-=-=--
Подробная информация о списке рассылки Devel