summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTails developers <amnesia@boum.org>2015-02-09 13:55:43 +0100
committerTails developers <amnesia@boum.org>2015-02-09 13:55:43 +0100
commitffe42482aca1a714afe93b5f42f1f8d80c09fcca (patch)
treedf121d7229ed0095e9d0f3735e50e3570bbfbbae
parent822281a302016bb5f82301fd0963dd513a33e8e6 (diff)
Chain commands with && for greater reliability.
-rw-r--r--features/step_definitions/tor.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/features/step_definitions/tor.rb b/features/step_definitions/tor.rb
index e32ca85..34b10d3 100644
--- a/features/step_definitions/tor.rb
+++ b/features/step_definitions/tor.rb
@@ -255,8 +255,8 @@ end
And /^I re-run htpdate$/ do
next if @skip_steps_while_restoring_background
- @vm.execute_successfully("service htpdate stop ; " \
- "rm -f /var/run/htpdate/* ; " \
+ @vm.execute_successfully("service htpdate stop && " \
+ "rm -f /var/run/htpdate/* && " \
"service htpdate start")
step "the time has synced"
end