diff options
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 |