Index: run_remote_tests.sh |
diff --git a/run_remote_tests.sh b/run_remote_tests.sh |
index 2a54456f738c0acdbd807a1b0afa76911ff2d05b..9cb131817297301766619d05a3f71f74b5306d37 100755 |
--- a/run_remote_tests.sh |
+++ b/run_remote_tests.sh |
@@ -268,7 +268,7 @@ function main() { |
local autoserv_args="-m ${FLAGS_remote} --ssh-port ${FLAGS_ssh_port} \ |
${option} ${control_file} -r ${results_dir} ${verbose}" |
if [ -n "${FLAGS_args}" ]; then |
- autoserv_args="${autoserv_args} -a \"${FLAGS_args}\"" |
+ autoserv_args="${autoserv_args} --args=${FLAGS_args}" |
fi |
sudo chmod a+w ./server/{tests,site_tests} |
@@ -291,5 +291,5 @@ function main() { |
print_time_elapsed |
} |
-restart_in_chroot_if_needed $* |
+restart_in_chroot_if_needed "$@" |
main "$@" |