diff options
author | Nicholas Johnson <nick@nicholasjohnson.ch> | 2022-12-06 00:00:00 +0000 |
---|---|---|
committer | Nicholas Johnson <nick@nicholasjohnson.ch> | 2022-12-06 00:00:00 +0000 |
commit | a356c21e3236a0f8c8ad7252c082f66b8e4661356b439f9ca3a4b420ecb4a981 (patch) | |
tree | e3f8c85d5a6931197b5574a34532ba97e8e5a77c3fe8d804bc17eaf46b15773b /content/entry/dead-mans-switch.md | |
parent | b3ee40b85b971c7e23bdacf78750e33222416661849fc1c4efeee6cb58545ab6 (diff) | |
download | journal-a356c21e3236a0f8c8ad7252c082f66b8e4661356b439f9ca3a4b420ecb4a981.tar.gz journal-a356c21e3236a0f8c8ad7252c082f66b8e4661356b439f9ca3a4b420ecb4a981.zip |
Fix code in entry dead-mans-switch.md
Diffstat (limited to 'content/entry/dead-mans-switch.md')
-rw-r--r-- | content/entry/dead-mans-switch.md | 4 |
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 |