aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/clients/cave/script_command.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/clients/cave/script_command.cc b/src/clients/cave/script_command.cc
index fa9c8d54d..d4aae5cf3 100644
--- a/src/clients/cave/script_command.cc
+++ b/src/clients/cave/script_command.cc
@@ -69,7 +69,7 @@ ScriptCommand::run(
std::string arg_str;
for (Sequence<std::string>::ConstIterator n(args->begin()), n_end(args->end()) ;
n != n_end ; ++n)
- arg_str = " " + args::escape(*n);
+ arg_str = arg_str + " " + args::escape(*n);
Process process((ProcessCommand(stringify(_imp->executable) + arg_str)));
int retcode(process.run().wait());