about summary refs log tree commit diff
path: root/Src/hist.c
diff options
context:
space:
mode:
Diffstat (limited to 'Src/hist.c')
-rw-r--r--Src/hist.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Src/hist.c b/Src/hist.c
index d4f3fc454..05fc6e003 100644
--- a/Src/hist.c
+++ b/Src/hist.c
@@ -826,7 +826,7 @@ hbegin(int dohist)
     }
     chwordpos = 0;
 
-    if (hist_ring && !hist_ring->ftim)
+    if (hist_ring && !hist_ring->ftim && !strin)
 	hist_ring->ftim = time(NULL);
     if ((dohist == 2 || (interact && isset(SHINSTDIN))) && !strin) {
 	histactive = HA_ACTIVE;