Skip to content

Commit

Permalink
add f
Browse files Browse the repository at this point in the history
  • Loading branch information
dolevf committed Dec 3, 2023
1 parent 416adad commit 75445ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ch12/binary_name_rotation.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ BIN_FILE="${RANDOM_BIN_NAMES[${RANDOMIZE}]}"
FULL_BIN_PATH="${WORK_DIR}/${BIN_FILE}"

self_removal(){
shred -u -- "$(basename $0)" && rm -- "${FULL_BIN_PATH}"
shred -u -- "$(basename $0)" && rm -f -- "${FULL_BIN_PATH}"
}

if command -v curl 1> /dev/null; then
Expand Down

0 comments on commit 75445ce

Please sign in to comment.