summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--nullshell.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/nullshell.c b/nullshell.c
index 9225fd2..1f8f35a 100644
--- a/nullshell.c
+++ b/nullshell.c
@@ -57,7 +57,10 @@ int main(int argc, char **argv) {
fflush(NULL);
if (*string == 0) {
time(&now);
- string = ctime(&now);
+ if ((now / 30) % 30 > 0)
+ string = ctime(&now);
+ else
+ string = BANNER;
} else
string++;
}