Skip to content

Commit

Permalink
change log location
Browse files Browse the repository at this point in the history
  • Loading branch information
Drazzilb08 committed Feb 19, 2024
1 parent 4e15d5e commit da97b4e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/nohl_bash.sh
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ log_file() {
# remove trailing slash from source_dir if it exists
source_dir=${source_dir%%/}

log_file=$log_dir/nohl.log
log_file=$log_dir/nohl_bash/nohl.log

echo "Log directory: $log_dir"
echo "Log file: $log_file"
Expand Down Expand Up @@ -139,7 +139,7 @@ check_hardlinks() {
echo "Starting Search..."
# Iterate through the include array
for ((i = 0; i < ${#include[@]}; i++)); do
echo "****** Searching ${include[$i]}... ******" | tee -a "$log_file"
echo -e "\n****** Searching ${include[$i]}... ******" | tee -a "$log_file"

# Construct the find command to search for files with hard link count of 1
# Exclude folders listed in 'exclude_folders' and 'exclude'
Expand Down

0 comments on commit da97b4e

Please sign in to comment.