about summary refs log tree commit diff
path: root/src/libexecline/el_modifs_and_exec.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libexecline/el_modifs_and_exec.c')
-rw-r--r--src/libexecline/el_modifs_and_exec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libexecline/el_modifs_and_exec.c b/src/libexecline/el_modifs_and_exec.c
index fe0117c..ca72291 100644
--- a/src/libexecline/el_modifs_and_exec.c
+++ b/src/libexecline/el_modifs_and_exec.c
@@ -21,7 +21,7 @@ void el_modifs_and_exec (char const *const *argv, char const *const *vars, char
     if (values[i])
     {
       yesn++ ;
-      yeslen += len ;
+      yeslen += len + 1 ;
       modiflen += 1 + strlen(values[i]) ;
     }
   }