summary refs log tree commit diff stats
path: root/plugins/exec/exec.c
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/exec/exec.c')
-rw-r--r--plugins/exec/exec.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/exec/exec.c b/plugins/exec/exec.c
index 483b8e7f..790278a2 100644
--- a/plugins/exec/exec.c
+++ b/plugins/exec/exec.c
@@ -51,6 +51,8 @@ run_command (char *word[], char *word_eol[], void *userdata)
 	secattr.nLength = sizeof (secattr);
 	secattr.bInheritHandle = TRUE;
 
+	timeElapsed = 0.0;
+
 	if (strlen (word[2]) > 0)
 	{
 		strcpy (commandLine, "cmd.exe /c ");