summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xsrc/transitions/0.282
1 files changed, 1 insertions, 1 deletions
diff --git a/src/transitions/0.28 b/src/transitions/0.28
index 675f4f9..5da6ab1 100755
--- a/src/transitions/0.28
+++ b/src/transitions/0.28
@@ -21,5 +21,5 @@ SYSDATADIR=${MONKEYSPHERE_SYSDATADIR:-"/var/lib/monkeysphere"}
OLD_HOST_KEY_FILE="$SYSDATADIR"/ssh_host_rsa_key.pub.gpg
if [ -f "$OLD_HOST_KEY_FILE" ] ; then
monkeysphere-host update-pgp-pub-file
- rm -rf "$OLD_HOST_KEY_FILE"
+ rm -f "$OLD_HOST_KEY_FILE"
fi