Skip to content

Commit

Permalink
Use correct flag
Browse files Browse the repository at this point in the history
macOS does not have long-form options for `tee`
  • Loading branch information
bra1ncramp committed Nov 15, 2023
1 parent e24b5b5 commit 2b6d424
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion extras/ioc_hash_scan.sh
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ for i in "${serverList[@]}"; do

instanceName=$(getHost)

echo "Beginning scan of instance $i -- $instanceName" | tee --append "$logfile"
echo "Beginning scan of instance $i -- $instanceName" | tee -a "$logfile"

# Start Port Forwarding
echo "Begining port forwarding"
Expand Down

0 comments on commit 2b6d424

Please sign in to comment.