summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--usr.bin/sectok/main.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/usr.bin/sectok/main.c b/usr.bin/sectok/main.c
index f743da9aa1b..89e009feb31 100644
--- a/usr.bin/sectok/main.c
+++ b/usr.bin/sectok/main.c
@@ -1,4 +1,4 @@
-/* $Id: main.c,v 1.4 2001/07/27 14:13:08 rees Exp $ */
+/* $Id: main.c,v 1.5 2001/09/09 17:23:21 mickey Exp $ */
/*
* Smartcard commander.
@@ -128,8 +128,10 @@ char *av[];
if (!fgets(buf, sizeof buf, cmdf)) {
if (interrupted)
continue;
- else
+ else {
+ putchar('\n');
break;
+ }
}
if (cmdf != stdin)
printf("sectok> %s", buf);