From a356c21e3236a0f8c8ad7252c082f66b8e4661356b439f9ca3a4b420ecb4a981 Mon Sep 17 00:00:00 2001 From: Nicholas Johnson Date: Tue, 6 Dec 2022 00:00:00 +0000 Subject: Fix code in entry dead-mans-switch.md --- content/entry/dead-mans-switch.md | 4 ++-- 1 file 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//disarmed LEAK_SCRIPT=/home//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 -- cgit v1.2.3