summaryrefslogtreecommitdiff
path: root/src/libexecline/el_modif_and_exec.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libexecline/el_modif_and_exec.c')
-rw-r--r--src/libexecline/el_modif_and_exec.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/libexecline/el_modif_and_exec.c b/src/libexecline/el_modif_and_exec.c
index e2a3618..c94d301 100644
--- a/src/libexecline/el_modif_and_exec.c
+++ b/src/libexecline/el_modif_and_exec.c
@@ -22,12 +22,11 @@ void el_modif_and_exec (char const *const *argv, char const *var, char const *va
if (doimport)
{
size_t m = 0 ;
- char const *newargv[env_len(argv) + 6] ;
+ char const *newargv[env_len(argv) + 5] ;
newargv[m++] = EXECLINE_BINPREFIX "importas" ;
- newargv[m++] = "-ui" ;
+ newargv[m++] = "-uSi" ;
newargv[m++] = "--" ;
newargv[m++] = var ;
- newargv[m++] = var ;
while (*argv) newargv[m++] = *argv++ ;
newargv[m++] = 0 ;
xmexec0_n(newargv, value ? modifs : var, value ? modiflen : varlen + 1, 1) ;