From d3697abcadce24a5b3ee3d76cf54c9fbc2caef9f Mon Sep 17 00:00:00 2001 From: Guillaume <67098259+Gu1llaum-3@users.noreply.github.com> Date: Tue, 30 Jul 2024 11:31:08 +0200 Subject: [PATCH] Update cryptr.bash Remove else clause and notice for non-deletion of original file --- cryptr.bash | 2 -- 1 file changed, 2 deletions(-) diff --git a/cryptr.bash b/cryptr.bash index 63c54e6..782df22 100755 --- a/cryptr.bash +++ b/cryptr.bash @@ -56,8 +56,6 @@ cryptr_encrypt() { if [[ "$confirm" =~ ^[Yy]$ ]]; then echo "[notice] deleting the original file" rm -f "$_file" - else - echo "[notice] Original file not deleted" fi else echo "[error] encryption failed, original file not deleted" 1>&2