summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicholas Johnson <nick@nicholasjohnson.ch>2022-12-06 00:00:00 +0000
committerNicholas Johnson <nick@nicholasjohnson.ch>2022-12-06 00:00:00 +0000
commita356c21e3236a0f8c8ad7252c082f66b8e4661356b439f9ca3a4b420ecb4a981 (patch)
treee3f8c85d5a6931197b5574a34532ba97e8e5a77c3fe8d804bc17eaf46b15773b
parentb3ee40b85b971c7e23bdacf78750e33222416661849fc1c4efeee6cb58545ab6 (diff)
downloadjournal-a356c21e3236a0f8c8ad7252c082f66b8e4661356b439f9ca3a4b420ecb4a981.tar.gz
journal-a356c21e3236a0f8c8ad7252c082f66b8e4661356b439f9ca3a4b420ecb4a981.zip
Fix code in entry dead-mans-switch.md
-rw-r--r--content/entry/dead-mans-switch.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/content/entry/dead-mans-switch.md b/content/entry/dead-mans-switch.md
index 0caaa0c..fb86b6f 100644
--- a/content/entry/dead-mans-switch.md
+++ b/content/entry/dead-mans-switch.md
@@ -76,8 +76,8 @@ Here's what such a script might look like:
FILE_DISARMED=/home/<user>/disarmed
LEAK_SCRIPT=/home/<user>/leak.sh
-if test -f $FILE_DISARMED"; then
- rm $FILE_DISARMED
+if test -f "$FILE_DISARMED"; then
+ rm "$FILE_DISARMED"
else
./LEAK_SCRIPT # publishes private key etc.
fi