Skip to content

Commit

Permalink
Update cryptr.bash
Browse files Browse the repository at this point in the history
Remove else clause and notice for non-deletion of original file
  • Loading branch information
Gu1llaum-3 authored Jul 30, 2024
1 parent 41ec15b commit d3697ab
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions cryptr.bash
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d3697ab

Please sign in to comment.