mirror of
https://github.com/LukeSmithxyz/voidrice.git
synced 2026-03-20 01:37:45 +01:00
Adding sed workaround for MacOS
'
This commit is contained in:
parent
a10566fab1
commit
18841a0d4e
@ -26,6 +26,6 @@ done
|
||||
if [[ -z "$lines_to_delete" ]]; then
|
||||
echo "All arguments passed were invalid lines in $known_hosts_path"
|
||||
else
|
||||
sed -i "$lines_to_delete" "$known_hosts_path"
|
||||
sed -i'' "$lines_to_delete" "$known_hosts_path"
|
||||
echo "Deleted lines $(echo $(echo "$lines_to_delete" | sed 's/d;/, /g') | sed 's/.$//' )"
|
||||
fi
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user