summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTails developers <amnesia@boum.org>2015-02-20 12:23:18 +0100
committerTails developers <amnesia@boum.org>2015-02-20 12:23:18 +0100
commit34bfd5cf3da8e2b6e64356fda55aae57fb03cb15 (patch)
treea3fce269e1261c3a379bbcb769c7c55243cd43cc
parentf825aaf4cf21d179cfb9228c77683fc867f7ef02 (diff)
Use double quotes so #{...} is actually evaluated and not taken literally.
See the ticket, #8919, for details. Will-fix: #8919
-rw-r--r--features/step_definitions/usb.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/features/step_definitions/usb.rb b/features/step_definitions/usb.rb
index 2c657ca..ecd53f8 100644
--- a/features/step_definitions/usb.rb
+++ b/features/step_definitions/usb.rb
@@ -304,7 +304,7 @@ end
def tails_persistence_enabled?
persistence_state_file = "/var/lib/live/config/tails.persistence"
return @vm.execute("test -e '#{persistence_state_file}'").success? &&
- @vm.execute('. #{persistence_state_file} && ' +
+ @vm.execute(". #{persistence_state_file} && " +
'test "$TAILS_PERSISTENCE_ENABLED" = true').success?
end